#040BAC

#040bac ≈ Zaffre

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

#040bac 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.31% green and 67.45% blue; printed in CMYK it uses 97.67% cyan, 93.6% magenta, 0% yellow and 32.55% black. Its hue angle is 237.5°, with 95.45% saturation and 34.51% 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 12.74:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 1.19.

Description generated from the measured properties of this color.

Conversions of #040bac 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.0324

Readable text 12.74:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #323232 ≈ 0.003% of males
Achromatomaly #272877 ≈ 0.001% of males
Protanopia #003bb0 ≈ 1.01% of males
Deuteranopia #0029aa ≈ 1.27% of males
Tritanopia #004864 ≈ 0.0001% of males
Protanomaly #002eae ≈ 1.08% of males
Deuteranomaly #0020ab ≈ 4.63% of males
Tritanomaly #003887 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040bac {
  color: #040bac;
}
Background
.bg-040bac {
  background-color: #040bac;
  color: #ffffff;
}
Border
.border-040bac {
  border: 2px solid #040bac;
}
CSS variables
:root {
  --color-primary: #040bac;
  --color-primary-rgb: 4 11 172;
  --color-primary-hsl: 238 95% 35%;
}
Gradient
.gradient-040bac {
  background: linear-gradient(135deg, #040bac, #5104ac);
}
Colored shadow
.shadow-040bac {
  box-shadow: 0 8px 24px rgb(4 11 172 / 0.35);
}

Zaffre
#040bac  rgb(4, 11, 172)  hsl(238, 95%, 35%)  Zaffre
#aca504  rgb(172, 165, 4)  hsl(58, 95%, 35%)  Brass
#ac040b  rgb(172, 4, 11)  hsl(358, 95%, 35%)  Rufous
#0bac04  rgb(11, 172, 4)  hsl(118, 95%, 35%)  Kelly Green