#021A51

#021a51 ≈ Oxford Blue

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

#021a51 is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 0.78% red, 10.2% green and 31.76% blue; printed in CMYK it uses 97.53% cyan, 67.9% magenta, 0% yellow and 68.24% black. Its hue angle is 221.77°, with 95.18% saturation and 16.27% 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 16.55:1 (WCAG AAA). The closest named color is Oxford Blue (#002147), ΔE 4.71.

Description generated from the measured properties of this color.

Conversions of #021a51 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.0135

Readable text 16.55:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.27:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1f1f1f ≈ 0.003% of males
Achromatomaly #171d39 ≈ 0.001% of males
Protanopia #002253 ≈ 1.01% of males
Deuteranopia #001b50 ≈ 1.27% of males
Tritanopia #002932 ≈ 0.0001% of males
Protanomaly #001f52 ≈ 1.08% of males
Deuteranomaly #001b50 ≈ 4.63% of males
Tritanomaly #002341 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Oxford Blue
#021a51  rgb(2, 26, 81)  hsl(222, 95%, 16%)  Oxford Blue
#513902  rgb(81, 57, 2)  hsl(42, 95%, 16%)  Field Drab
#51021a  rgb(81, 2, 26)  hsl(342, 95%, 16%)  Rosewood
#1a5102  rgb(26, 81, 2)  hsl(102, 95%, 16%)  Lincoln Green