#040DA4

#040da4 ≈ Zaffre

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

#040da4 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.1% green and 64.31% blue; printed in CMYK it uses 97.56% cyan, 92.07% magenta, 0% yellow and 35.69% black. Its hue angle is 236.63°, with 95.24% saturation and 32.94% 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 corporate identities. White text on this color reaches a contrast ratio of 13.13:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 1.15.

Description generated from the measured properties of this color.

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

Readable text 13.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #303030 ≈ 0.003% of males
Achromatomaly #252671 ≈ 0.001% of males
Protanopia #0038a8 ≈ 1.01% of males
Deuteranopia #0027a2 ≈ 1.27% of males
Tritanopia #00445f ≈ 0.0001% of males
Protanomaly #002ca6 ≈ 1.08% of males
Deuteranomaly #001fa3 ≈ 4.63% of males
Tritanomaly #003681 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040da4 {
  color: #040da4;
}
Background
.bg-040da4 {
  background-color: #040da4;
  color: #ffffff;
}
Border
.border-040da4 {
  border: 2px solid #040da4;
}
CSS variables
:root {
  --color-primary: #040da4;
  --color-primary-rgb: 4 13 164;
  --color-primary-hsl: 237 95% 33%;
}
Gradient
.gradient-040da4 {
  background: linear-gradient(135deg, #040da4, #4b04a4);
}
Colored shadow
.shadow-040da4 {
  box-shadow: 0 8px 24px rgb(4 13 164 / 0.35);
}

Zaffre
#040da4  rgb(4, 13, 164)  hsl(237, 95%, 33%)  Zaffre
#a49b04  rgb(164, 155, 4)  hsl(57, 95%, 33%)  Brass
#a4040d  rgb(164, 4, 13)  hsl(357, 95%, 33%)  Rufous
#0da404  rgb(13, 164, 4)  hsl(117, 95%, 33%)  Islamic Green