#21014C

#21014c ≈ Midnight Blue

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

#21014c 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, 0.39% green and 29.8% blue; printed in CMYK it uses 56.58% cyan, 98.68% magenta, 0% yellow and 70.2% black. Its hue angle is 265.6°, with 97.4% saturation and 15.1% 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.9:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.14.

Description generated from the measured properties of this color.

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

Readable text 17.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.17:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #171717 ≈ 0.003% of males
Achromatomaly #1c1034 ≈ 0.001% of males
Protanopia #00184e ≈ 1.01% of males
Deuteranopia #00164b ≈ 1.27% of males
Tritanopia #121929 ≈ 0.0001% of males
Protanomaly #00114d ≈ 1.08% of males
Deuteranomaly #000f4b ≈ 4.63% of males
Tritanomaly #19123a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-21014c {
  color: #21014c;
}
Background
.bg-21014c {
  background-color: #21014c;
  color: #ffffff;
}
Border
.border-21014c {
  border: 2px solid #21014c;
}
CSS variables
:root {
  --color-primary: #21014c;
  --color-primary-rgb: 33 1 76;
  --color-primary-hsl: 266 97% 15%;
}
Gradient
.gradient-21014c {
  background: linear-gradient(135deg, #21014c, #47014c);
}
Colored shadow
.shadow-21014c {
  box-shadow: 0 8px 24px rgb(33 1 76 / 0.35);
}

Midnight Blue
#21014c  rgb(33, 1, 76)  hsl(266, 97%, 15%)  Midnight Blue
#2c4c01  rgb(44, 76, 1)  hsl(86, 97%, 15%)  Lincoln Green
#4c2101  rgb(76, 33, 1)  hsl(26, 97%, 15%)  Caput Mortuum
#014c21  rgb(1, 76, 33)  hsl(146, 97%, 15%)  British Racing Green