#021C8E

#021c8e ≈ Imperial Blue

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

#021c8e 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 55.69% blue; printed in CMYK it uses 98.59% cyan, 80.28% magenta, 0% yellow and 44.31% black. Its hue angle is 228.86°, with 97.22% saturation and 28.24% 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 luxury branding. White text on this color reaches a contrast ratio of 13.47:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 1.93.

Description generated from the measured properties of this color.

Conversions of #021c8e 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.028

Readable text 13.47:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2f2f2f ≈ 0.003% of males
Achromatomaly #232863 ≈ 0.001% of males
Protanopia #003591 ≈ 1.01% of males
Deuteranopia #00288c ≈ 1.27% of males
Tritanopia #004055 ≈ 0.0001% of males
Protanomaly #002d90 ≈ 1.08% of males
Deuteranomaly #00238d ≈ 4.63% of males
Tritanomaly #003570 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-021c8e {
  color: #021c8e;
}
Background
.bg-021c8e {
  background-color: #021c8e;
  color: #ffffff;
}
Border
.border-021c8e {
  border: 2px solid #021c8e;
}
CSS variables
:root {
  --color-primary: #021c8e;
  --color-primary-rgb: 2 28 142;
  --color-primary-hsl: 229 97% 28%;
}
Gradient
.gradient-021c8e {
  background: linear-gradient(135deg, #021c8e, #2e028e);
}
Colored shadow
.shadow-021c8e {
  box-shadow: 0 8px 24px rgb(2 28 142 / 0.35);
}

Imperial Blue
#021c8e  rgb(2, 28, 142)  hsl(229, 97%, 28%)  Imperial Blue
#8e7402  rgb(142, 116, 2)  hsl(49, 97%, 28%)  Olive
#8e021c  rgb(142, 2, 28)  hsl(349, 97%, 28%)  Carmine
#1c8e02  rgb(28, 142, 2)  hsl(109, 97%, 28%)  Islamic Green