#021F67

#021f67 ≈ Midnight Blue

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

#021f67 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 0.78% red, 12.16% green and 40.39% blue; printed in CMYK it uses 98.06% cyan, 69.9% magenta, 0% yellow and 59.61% black. Its hue angle is 222.77°, with 96.19% saturation and 20.59% 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.06:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.02.

Description generated from the measured properties of this color.

Conversions of #021f67 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.0197

Readable text 15.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.39:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #262626 ≈ 0.003% of males
Achromatomaly #1d2449 ≈ 0.001% of males
Protanopia #002b69 ≈ 1.01% of males
Deuteranopia #002266 ≈ 1.27% of males
Tritanopia #003340 ≈ 0.0001% of males
Protanomaly #002768 ≈ 1.08% of males
Deuteranomaly #002166 ≈ 4.63% of males
Tritanomaly #002c52 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#021f67  rgb(2, 31, 103)  hsl(223, 96%, 21%)  Midnight Blue
#674a02  rgb(103, 74, 2)  hsl(43, 96%, 21%)  Field Drab
#67021f  rgb(103, 2, 31)  hsl(343, 96%, 21%)  Burgundy
#1f6702  rgb(31, 103, 2)  hsl(103, 96%, 21%)  Pakistan Green