#040CA1

#040ca1 ≈ Zaffre

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

#040ca1 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 4.71% green and 63.14% blue; printed in CMYK it uses 97.52% cyan, 92.55% magenta, 0% yellow and 36.86% black. Its hue angle is 236.94°, with 95.15% saturation and 32.35% 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.36:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 1.51.

Description generated from the measured properties of this color.

Conversions of #040ca1 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.0286

Readable text 13.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.57:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2f2f2f ≈ 0.003% of males
Achromatomaly #24256f ≈ 0.001% of males
Protanopia #0037a5 ≈ 1.01% of males
Deuteranopia #00269f ≈ 1.27% of males
Tritanopia #00435e ≈ 0.0001% of males
Protanomaly #002ba3 ≈ 1.08% of males
Deuteranomaly #001ea0 ≈ 4.63% of males
Tritanomaly #00357e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Zaffre
#040ca1  rgb(4, 12, 161)  hsl(237, 95%, 32%)  Zaffre
#a19904  rgb(161, 153, 4)  hsl(57, 95%, 32%)  Brass
#a1040c  rgb(161, 4, 12)  hsl(357, 95%, 32%)  Sangria
#0ca104  rgb(12, 161, 4)  hsl(117, 95%, 32%)  Islamic Green