#040FB6

#040fb6 ≈ Zaffre

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

#040fb6 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 5.88% green and 71.37% blue; printed in CMYK it uses 97.8% cyan, 91.76% magenta, 0% yellow and 28.63% black. Its hue angle is 236.29°, with 95.7% saturation and 36.47% 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 12.01:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 1.88.

Description generated from the measured properties of this color.

Conversions of #040fb6 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#0000cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0374

Readable text 12.01:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #363636 ≈ 0.003% of males
Achromatomaly #2a2b7e ≈ 0.001% of males
Protanopia #003fba ≈ 1.01% of males
Deuteranopia #002db3 ≈ 1.27% of males
Tritanopia #004d6a ≈ 0.0001% of males
Protanomaly #0032b9 ≈ 1.08% of males
Deuteranomaly #0024b4 ≈ 4.63% of males
Tritanomaly #003d8f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040fb6 {
  color: #040fb6;
}
Background
.bg-040fb6 {
  background-color: #040fb6;
  color: #ffffff;
}
Border
.border-040fb6 {
  border: 2px solid #040fb6;
}
CSS variables
:root {
  --color-primary: #040fb6;
  --color-primary-rgb: 4 15 182;
  --color-primary-hsl: 236 96% 36%;
}
Gradient
.gradient-040fb6 {
  background: linear-gradient(135deg, #040fb6, #5204b6);
}
Colored shadow
.shadow-040fb6 {
  box-shadow: 0 8px 24px rgb(4 15 182 / 0.35);
}

Zaffre
#040fb6  rgb(4, 15, 182)  hsl(236, 96%, 36%)  Zaffre
#b6ab04  rgb(182, 171, 4)  hsl(56, 96%, 36%)  Brass
#b6040f  rgb(182, 4, 15)  hsl(356, 96%, 36%)  Cornell Red
#0fb604  rgb(15, 182, 4)  hsl(116, 96%, 36%)  Kelly Green