#0F42A9

#0f42a9 ≈ Cobalt Blue

  • blue
  • Lightness: low
  • Saturation: strong
  • Cool

#0f42a9 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 5.88% red, 25.88% green and 66.27% blue; printed in CMYK it uses 91.12% cyan, 60.95% magenta, 0% yellow and 33.73% black. Its hue angle is 220.13°, with 83.7% saturation and 36.08% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 8.85:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 1.97.

Description generated from the measured properties of this color.

Conversions of #0f42a9 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#003399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0686

Readable text 8.85:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.37:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4a4a4a ≈ 0.003% of males
Achromatomaly #3b477c ≈ 0.001% of males
Protanopia #0051ac ≈ 1.01% of males
Deuteranopia #0043a7 ≈ 1.27% of males
Tritanopia #005d6f ≈ 0.0001% of males
Protanomaly #004cab ≈ 1.08% of males
Deuteranomaly #0043a8 ≈ 4.63% of males
Tritanomaly #00538a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0f42a9 {
  color: #0f42a9;
}
Background
.bg-0f42a9 {
  background-color: #0f42a9;
  color: #ffffff;
}
Border
.border-0f42a9 {
  border: 2px solid #0f42a9;
}
CSS variables
:root {
  --color-primary: #0f42a9;
  --color-primary-rgb: 15 66 169;
  --color-primary-hsl: 220 84% 36%;
}
Gradient
.gradient-0f42a9 {
  background: linear-gradient(135deg, #0f42a9, #290fa9);
}
Colored shadow
.shadow-0f42a9 {
  box-shadow: 0 8px 24px rgb(15 66 169 / 0.35);
}

Cobalt Blue
#0f42a9  rgb(15, 66, 169)  hsl(220, 84%, 36%)  Cobalt Blue
#a9760f  rgb(169, 118, 15)  hsl(40, 84%, 36%)  Dark Goldenrod
#a90f42  rgb(169, 15, 66)  hsl(340, 84%, 36%)  Vivid Burgundy
#42a90f  rgb(66, 169, 15)  hsl(100, 84%, 36%)  Kelly Green