#040FB8

#040fb8 ≈ Zaffre

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

#040fb8 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 72.16% blue; printed in CMYK it uses 97.83% cyan, 91.85% magenta, 0% yellow and 27.84% black. Its hue angle is 236.33°, with 95.74% saturation and 36.86% 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 11.89:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.12.

Description generated from the measured properties of this color.

Conversions of #040fb8 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.0383

Readable text 11.89:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.77:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #373737 ≈ 0.003% of males
Achromatomaly #2a2c80 ≈ 0.001% of males
Protanopia #0040bc ≈ 1.01% of males
Deuteranopia #002db5 ≈ 1.27% of males
Tritanopia #004d6c ≈ 0.0001% of males
Protanomaly #0033bb ≈ 1.08% of males
Deuteranomaly #0024b6 ≈ 4.63% of males
Tritanomaly #003d91 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Zaffre
#040fb8  rgb(4, 15, 184)  hsl(236, 96%, 37%)  Zaffre
#b8ad04  rgb(184, 173, 4)  hsl(56, 96%, 37%)  Brass
#b8040f  rgb(184, 4, 15)  hsl(356, 96%, 37%)  Cornell Red
#0fb804  rgb(15, 184, 4)  hsl(116, 96%, 37%)  Kelly Green