#021F31

#021f31 ≈ Prussian Blue

  • azure
  • Lightness: very low
  • Saturation: muted
  • Cool

#021f31 is a color from the azure family, with very low lightness and muted saturation. In the RGB model it is made of 0.78% red, 12.16% green and 19.22% blue; printed in CMYK it uses 95.92% cyan, 36.73% magenta, 0% yellow and 80.78% black. Its hue angle is 202.98°, with 92.16% saturation and 10% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 16.9:1 (WCAG AAA). The closest named color is Prussian Blue (#003153), ΔE 7.61.

Description generated from the measured properties of this color.

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

Readable text 16.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.24:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1d1d1d ≈ 0.003% of males
Achromatomaly #151e26 ≈ 0.001% of males
Protanopia #161f32 ≈ 1.01% of males
Deuteranopia #101b31 ≈ 1.27% of males
Tritanopia #002425 ≈ 0.0001% of males
Protanomaly #101f31 ≈ 1.08% of males
Deuteranomaly #0b1d31 ≈ 4.63% of males
Tritanomaly #00222a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-021f31 {
  color: #021f31;
}
Background
.bg-021f31 {
  background-color: #021f31;
  color: #ffffff;
}
Border
.border-021f31 {
  border: 2px solid #021f31;
}
CSS variables
:root {
  --color-primary: #021f31;
  --color-primary-rgb: 2 31 49;
  --color-primary-hsl: 203 92% 10%;
}
Gradient
.gradient-021f31 {
  background: linear-gradient(135deg, #021f31, #020731);
}
Colored shadow
.shadow-021f31 {
  box-shadow: 0 8px 24px rgb(2 31 49 / 0.35);
}

Prussian Blue
#021f31  rgb(2, 31, 49)  hsl(203, 92%, 10%)  Prussian Blue
#311402  rgb(49, 20, 2)  hsl(23, 92%, 10%)  Bistre
#31021f  rgb(49, 2, 31)  hsl(323, 92%, 10%)  Tyrian Purple
#1f3102  rgb(31, 49, 2)  hsl(83, 92%, 10%)  Phthalo Green