#021F86

#021f86 ≈ Imperial Blue

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

#021f86 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 52.55% blue; printed in CMYK it uses 98.51% cyan, 76.87% magenta, 0% yellow and 47.45% black. Its hue angle is 226.82°, with 97.06% saturation and 26.67% 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.61:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 2.28.

Description generated from the measured properties of this color.

Conversions of #021f86 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.0271

Readable text 13.61:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2e2e2e ≈ 0.003% of males
Achromatomaly #23295e ≈ 0.001% of males
Protanopia #003489 ≈ 1.01% of males
Deuteranopia #002784 ≈ 1.27% of males
Tritanopia #003e51 ≈ 0.0001% of males
Protanomaly #002d88 ≈ 1.08% of males
Deuteranomaly #002485 ≈ 4.63% of males
Tritanomaly #00346a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Imperial Blue
#021f86  rgb(2, 31, 134)  hsl(227, 97%, 27%)  Imperial Blue
#866902  rgb(134, 105, 2)  hsl(47, 97%, 27%)  Golden Brown
#86021f  rgb(134, 2, 31)  hsl(347, 97%, 27%)  Burgundy
#1f8602  rgb(31, 134, 2)  hsl(107, 97%, 27%)  India Green