#021E76

#021e76 ≈ Midnight Blue

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

#021e76 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 0.78% red, 11.76% green and 46.27% blue; printed in CMYK it uses 98.31% cyan, 74.58% magenta, 0% yellow and 53.73% black. Its hue angle is 225.52°, with 96.67% saturation and 23.53% 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 14.48:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.56.

Description generated from the measured properties of this color.

Conversions of #021e76 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.0225

Readable text 14.48:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #292929 ≈ 0.003% of males
Achromatomaly #1f2553 ≈ 0.001% of males
Protanopia #002f79 ≈ 1.01% of males
Deuteranopia #002474 ≈ 1.27% of males
Tritanopia #003748 ≈ 0.0001% of males
Protanomaly #002978 ≈ 1.08% of males
Deuteranomaly #002275 ≈ 4.63% of males
Tritanomaly #002f5e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#021e76  rgb(2, 30, 118)  hsl(226, 97%, 24%)  Midnight Blue
#765a02  rgb(118, 90, 2)  hsl(46, 97%, 24%)  Field Drab
#76021e  rgb(118, 2, 30)  hsl(346, 97%, 24%)  Burgundy
#1e7602  rgb(30, 118, 2)  hsl(106, 97%, 24%)  Green