#021C5D

#021c5d ≈ Midnight Blue

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

#021c5d 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.98% green and 36.47% blue; printed in CMYK it uses 97.85% cyan, 69.89% magenta, 0% yellow and 63.53% black. Its hue angle is 222.86°, with 95.79% saturation and 18.63% 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 15.83:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.85.

Description generated from the measured properties of this color.

Conversions of #021c5d 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.0163

Readable text 15.83:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #222222 ≈ 0.003% of males
Achromatomaly #1a2041 ≈ 0.001% of males
Protanopia #00275f ≈ 1.01% of males
Deuteranopia #001e5c ≈ 1.27% of males
Tritanopia #002e39 ≈ 0.0001% of males
Protanomaly #00235e ≈ 1.08% of males
Deuteranomaly #001d5c ≈ 4.63% of males
Tritanomaly #00284a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-021c5d {
  color: #021c5d;
}
Background
.bg-021c5d {
  background-color: #021c5d;
  color: #ffffff;
}
Border
.border-021c5d {
  border: 2px solid #021c5d;
}
CSS variables
:root {
  --color-primary: #021c5d;
  --color-primary-rgb: 2 28 93;
  --color-primary-hsl: 223 96% 19%;
}
Gradient
.gradient-021c5d {
  background: linear-gradient(135deg, #021c5d, #16025d);
}
Colored shadow
.shadow-021c5d {
  box-shadow: 0 8px 24px rgb(2 28 93 / 0.35);
}

Midnight Blue
#021c5d  rgb(2, 28, 93)  hsl(223, 96%, 19%)  Midnight Blue
#5d4302  rgb(93, 67, 2)  hsl(43, 96%, 19%)  Field Drab
#5d021c  rgb(93, 2, 28)  hsl(343, 96%, 19%)  Rosewood
#1c5d02  rgb(28, 93, 2)  hsl(103, 96%, 19%)  Lincoln Green