#021FAB

#021fab ≈ Zaffre

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

#021fab is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 0.78% red, 12.16% green and 67.06% blue; printed in CMYK it uses 98.83% cyan, 81.87% magenta, 0% yellow and 32.94% black. Its hue angle is 229.7°, with 97.69% saturation and 33.92% 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 11.75:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.06.

Description generated from the measured properties of this color.

Conversions of #021fab into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#003399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0393

Readable text 11.75:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.79:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #383838 ≈ 0.003% of males
Achromatomaly #2b3078 ≈ 0.001% of males
Protanopia #0040af ≈ 1.01% of males
Deuteranopia #002fa9 ≈ 1.27% of males
Tritanopia #004c66 ≈ 0.0001% of males
Protanomaly #0035ad ≈ 1.08% of males
Deuteranomaly #002aaa ≈ 4.63% of males
Tritanomaly #003f87 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-021fab {
  color: #021fab;
}
Background
.bg-021fab {
  background-color: #021fab;
  color: #ffffff;
}
Border
.border-021fab {
  border: 2px solid #021fab;
}
CSS variables
:root {
  --color-primary: #021fab;
  --color-primary-rgb: 2 31 171;
  --color-primary-hsl: 230 98% 34%;
}
Gradient
.gradient-021fab {
  background: linear-gradient(135deg, #021fab, #3902ab);
}
Colored shadow
.shadow-021fab {
  box-shadow: 0 8px 24px rgb(2 31 171 / 0.35);
}

Zaffre
#021fab  rgb(2, 31, 171)  hsl(230, 98%, 34%)  Zaffre
#ab8e02  rgb(171, 142, 2)  hsl(50, 98%, 34%)  Dark Goldenrod
#ab021f  rgb(171, 2, 31)  hsl(350, 98%, 34%)  Brown
#1fab02  rgb(31, 171, 2)  hsl(110, 98%, 34%)  Kelly Green