#210D4E

#210d4e ≈ Midnight Blue

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

#210d4e is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 12.94% red, 5.1% green and 30.59% blue; printed in CMYK it uses 57.69% cyan, 83.33% magenta, 0% yellow and 69.41% black. Its hue angle is 258.46°, with 71.43% saturation and 17.84% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 17.04:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.77.

Description generated from the measured properties of this color.

Conversions of #210d4e into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#330066
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0116

Readable text 17.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.23:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1c1c1c ≈ 0.003% of males
Achromatomaly #1e1736 ≈ 0.001% of males
Protanopia #001d50 ≈ 1.01% of males
Deuteranopia #001a4d ≈ 1.27% of males
Tritanopia #101f2d ≈ 0.0001% of males
Protanomaly #02184f ≈ 1.08% of males
Deuteranomaly #04164d ≈ 4.63% of males
Tritanomaly #18193d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-210d4e {
  color: #210d4e;
}
Background
.bg-210d4e {
  background-color: #210d4e;
  color: #ffffff;
}
Border
.border-210d4e {
  border: 2px solid #210d4e;
}
CSS variables
:root {
  --color-primary: #210d4e;
  --color-primary-rgb: 33 13 78;
  --color-primary-hsl: 258 71% 18%;
}
Gradient
.gradient-210d4e {
  background: linear-gradient(135deg, #210d4e, #410d4e);
}
Colored shadow
.shadow-210d4e {
  box-shadow: 0 8px 24px rgb(33 13 78 / 0.35);
}

Midnight Blue
#210d4e  rgb(33, 13, 78)  hsl(258, 71%, 18%)  Midnight Blue
#3a4e0d  rgb(58, 78, 13)  hsl(78, 71%, 18%)  Army Green
#4e210d  rgb(78, 33, 13)  hsl(18, 71%, 18%)  Caput Mortuum
#0d4e21  rgb(13, 78, 33)  hsl(138, 71%, 18%)  British Racing Green