#021F4F

#021f4f ≈ Oxford Blue

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

#021f4f is a color from the azure family, with very low lightness and moderate saturation. In the RGB model it is made of 0.78% red, 12.16% green and 30.98% blue; printed in CMYK it uses 97.47% cyan, 60.76% magenta, 0% yellow and 69.02% black. Its hue angle is 217.4°, with 95.06% saturation and 15.88% 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.01:1 (WCAG AAA). The closest named color is Oxford Blue (#002147), ΔE 2.62.

Description generated from the measured properties of this color.

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

Readable text 16.01:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #212121 ≈ 0.003% of males
Achromatomaly #192139 ≈ 0.001% of males
Protanopia #002551 ≈ 1.01% of males
Deuteranopia #001e4e ≈ 1.27% of males
Tritanopia #002b33 ≈ 0.0001% of males
Protanomaly #002350 ≈ 1.08% of males
Deuteranomaly #001e4e ≈ 4.63% of males
Tritanomaly #002740 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-021f4f {
  color: #021f4f;
}
Background
.bg-021f4f {
  background-color: #021f4f;
  color: #ffffff;
}
Border
.border-021f4f {
  border: 2px solid #021f4f;
}
CSS variables
:root {
  --color-primary: #021f4f;
  --color-primary-rgb: 2 31 79;
  --color-primary-hsl: 217 95% 16%;
}
Gradient
.gradient-021f4f {
  background: linear-gradient(135deg, #021f4f, #0b024f);
}
Colored shadow
.shadow-021f4f {
  box-shadow: 0 8px 24px rgb(2 31 79 / 0.35);
}

Oxford Blue
#021f4f  rgb(2, 31, 79)  hsl(217, 95%, 16%)  Oxford Blue
#4f3202  rgb(79, 50, 2)  hsl(37, 95%, 16%)  Sepia
#4f021f  rgb(79, 2, 31)  hsl(337, 95%, 16%)  Tyrian Purple
#1f4f02  rgb(31, 79, 2)  hsl(97, 95%, 16%)  Lincoln Green