#21044D

#21044d ≈ Midnight Blue

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

#21044d 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, 1.57% green and 30.2% blue; printed in CMYK it uses 57.14% cyan, 94.81% magenta, 0% yellow and 69.8% black. Its hue angle is 263.84°, with 90.12% saturation and 15.88% 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.66:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.63.

Description generated from the measured properties of this color.

Conversions of #21044d 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.0095

Readable text 17.66:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.19:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #191919 ≈ 0.003% of males
Achromatomaly #1c1235 ≈ 0.001% of males
Protanopia #001a4f ≈ 1.01% of males
Deuteranopia #00174c ≈ 1.27% of males
Tritanopia #111b2a ≈ 0.0001% of males
Protanomaly #00134e ≈ 1.08% of males
Deuteranomaly #00114c ≈ 4.63% of males
Tritanomaly #19143b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-21044d {
  color: #21044d;
}
Background
.bg-21044d {
  background-color: #21044d;
  color: #ffffff;
}
Border
.border-21044d {
  border: 2px solid #21044d;
}
CSS variables
:root {
  --color-primary: #21044d;
  --color-primary-rgb: 33 4 77;
  --color-primary-hsl: 264 90% 16%;
}
Gradient
.gradient-21044d {
  background: linear-gradient(135deg, #21044d, #45044d);
}
Colored shadow
.shadow-21044d {
  box-shadow: 0 8px 24px rgb(33 4 77 / 0.35);
}

Midnight Blue
#21044d  rgb(33, 4, 77)  hsl(264, 90%, 16%)  Midnight Blue
#304d04  rgb(48, 77, 4)  hsl(84, 90%, 16%)  Lincoln Green
#4d2104  rgb(77, 33, 4)  hsl(24, 90%, 16%)  Caput Mortuum
#044d21  rgb(4, 77, 33)  hsl(144, 90%, 16%)  British Racing Green