#021D69

#021d69 ≈ Midnight Blue

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

#021d69 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.37% green and 41.18% blue; printed in CMYK it uses 98.1% cyan, 72.38% magenta, 0% yellow and 58.82% black. Its hue angle is 224.27°, with 96.26% saturation and 20.98% 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.19:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.19.

Description generated from the measured properties of this color.

Conversions of #021d69 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.0191

Readable text 15.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #262626 ≈ 0.003% of males
Achromatomaly #1c224a ≈ 0.001% of males
Protanopia #002b6b ≈ 1.01% of males
Deuteranopia #002168 ≈ 1.27% of males
Tritanopia #003240 ≈ 0.0001% of males
Protanomaly #00266a ≈ 1.08% of males
Deuteranomaly #001f68 ≈ 4.63% of males
Tritanomaly #002b53 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#021d69  rgb(2, 29, 105)  hsl(224, 96%, 21%)  Midnight Blue
#694e02  rgb(105, 78, 2)  hsl(44, 96%, 21%)  Field Drab
#69021d  rgb(105, 2, 29)  hsl(344, 96%, 21%)  Burgundy
#1d6902  rgb(29, 105, 2)  hsl(104, 96%, 21%)  Pakistan Green