#0400A2

#0400a2 ≈ Zaffre

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

#0400a2 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 0% green and 63.53% blue; printed in CMYK it uses 97.53% cyan, 100% magenta, 0% yellow and 36.47% black. Its hue angle is 241.48°, with 100% saturation and 31.76% 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.75:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.58.

Description generated from the measured properties of this color.

Conversions of #0400a2 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.0263

Readable text 13.75:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.53:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2d2d2d ≈ 0.003% of males
Achromatomaly #22226f ≈ 0.001% of males
Protanopia #0035a6 ≈ 1.01% of males
Deuteranopia #0024a0 ≈ 1.27% of males
Tritanopia #00415d ≈ 0.0001% of males
Protanomaly #0028a4 ≈ 1.08% of males
Deuteranomaly #001aa1 ≈ 4.63% of males
Tritanomaly #00327e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0400a2 {
  color: #0400a2;
}
Background
.bg-0400a2 {
  background-color: #0400a2;
  color: #ffffff;
}
Border
.border-0400a2 {
  border: 2px solid #0400a2;
}
CSS variables
:root {
  --color-primary: #0400a2;
  --color-primary-rgb: 4 0 162;
  --color-primary-hsl: 241 100% 32%;
}
Gradient
.gradient-0400a2 {
  background: linear-gradient(135deg, #0400a2, #5500a2);
}
Colored shadow
.shadow-0400a2 {
  box-shadow: 0 8px 24px rgb(4 0 162 / 0.35);
}

Zaffre
#0400a2  rgb(4, 0, 162)  hsl(241, 100%, 32%)  Zaffre
#9ea200  rgb(158, 162, 0)  hsl(61, 100%, 32%)  Brass
#a20400  rgb(162, 4, 0)  hsl(1, 100%, 32%)  Rufous
#00a204  rgb(0, 162, 4)  hsl(121, 100%, 32%)  Islamic Green