#040FA3

#040fa3 ≈ Zaffre

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

#040fa3 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 63.92% blue; printed in CMYK it uses 97.55% cyan, 90.8% magenta, 0% yellow and 36.08% black. Its hue angle is 235.85°, with 95.21% saturation and 32.75% 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.11:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 1.02.

Description generated from the measured properties of this color.

Conversions of #040fa3 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.0301

Readable text 13.11: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 #252771 ≈ 0.001% of males
Protanopia #0039a7 ≈ 1.01% of males
Deuteranopia #0028a1 ≈ 1.27% of males
Tritanopia #00445f ≈ 0.0001% of males
Protanomaly #002da5 ≈ 1.08% of males
Deuteranomaly #0020a2 ≈ 4.63% of males
Tritanomaly #003680 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Zaffre
#040fa3  rgb(4, 15, 163)  hsl(236, 95%, 33%)  Zaffre
#a39804  rgb(163, 152, 4)  hsl(56, 95%, 33%)  Brass
#a3040f  rgb(163, 4, 15)  hsl(356, 95%, 33%)  Sangria
#0fa304  rgb(15, 163, 4)  hsl(116, 95%, 33%)  Islamic Green