#021CB4

#021cb4 ≈ Zaffre

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

#021cb4 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 0.78% red, 10.98% green and 70.59% blue; printed in CMYK it uses 98.89% cyan, 84.44% magenta, 0% yellow and 29.41% black. Its hue angle is 231.24°, with 97.8% saturation and 35.69% 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.49:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.19.

Description generated from the measured properties of this color.

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

Readable text 11.49:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.83:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #393939 ≈ 0.003% of males
Achromatomaly #2c307e ≈ 0.001% of males
Protanopia #0042b8 ≈ 1.01% of males
Deuteranopia #0030b2 ≈ 1.27% of males
Tritanopia #004f6b ≈ 0.0001% of males
Protanomaly #0036b6 ≈ 1.08% of males
Deuteranomaly #0029b3 ≈ 4.63% of males
Tritanomaly #00408e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-021cb4 {
  color: #021cb4;
}
Background
.bg-021cb4 {
  background-color: #021cb4;
  color: #ffffff;
}
Border
.border-021cb4 {
  border: 2px solid #021cb4;
}
CSS variables
:root {
  --color-primary: #021cb4;
  --color-primary-rgb: 2 28 180;
  --color-primary-hsl: 231 98% 36%;
}
Gradient
.gradient-021cb4 {
  background: linear-gradient(135deg, #021cb4, #4102b4);
}
Colored shadow
.shadow-021cb4 {
  box-shadow: 0 8px 24px rgb(2 28 180 / 0.35);
}

Zaffre
#021cb4  rgb(2, 28, 180)  hsl(231, 98%, 36%)  Zaffre
#b49a02  rgb(180, 154, 2)  hsl(51, 98%, 36%)  Brass
#b4021c  rgb(180, 2, 28)  hsl(351, 98%, 36%)  Firebrick
#1cb402  rgb(28, 180, 2)  hsl(111, 98%, 36%)  Kelly Green