#040EB5

#040eb5 ≈ Zaffre

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

#040eb5 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.49% green and 70.98% blue; printed in CMYK it uses 97.79% cyan, 92.27% magenta, 0% yellow and 29.02% black. Its hue angle is 236.61°, with 95.68% saturation and 36.27% 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.1:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 1.78.

Description generated from the measured properties of this color.

Conversions of #040eb5 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.0368

Readable text 12.1:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #363636 ≈ 0.003% of males
Achromatomaly #292b7e ≈ 0.001% of males
Protanopia #003fb9 ≈ 1.01% of males
Deuteranopia #002cb2 ≈ 1.27% of males
Tritanopia #004c6a ≈ 0.0001% of males
Protanomaly #0032b7 ≈ 1.08% of males
Deuteranomaly #0023b3 ≈ 4.63% of males
Tritanomaly #003c8e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Zaffre
#040eb5  rgb(4, 14, 181)  hsl(237, 96%, 36%)  Zaffre
#b5ab04  rgb(181, 171, 4)  hsl(57, 96%, 36%)  Brass
#b5040e  rgb(181, 4, 14)  hsl(357, 96%, 36%)  Cornell Red
#0eb504  rgb(14, 181, 4)  hsl(117, 96%, 36%)  Kelly Green