#2C1944

#2c1944 ≈ Midnight Blue

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

#2c1944 is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 17.25% red, 9.8% green and 26.67% blue; printed in CMYK it uses 35.29% cyan, 63.24% magenta, 0% yellow and 73.33% black. Its hue angle is 266.51°, with 46.24% saturation and 18.24% 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 15.79:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 10.89.

Description generated from the measured properties of this color.

Conversions of #2c1944 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.0165

Readable text 15.79:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #232323 ≈ 0.003% of males
Achromatomaly #271f33 ≈ 0.001% of males
Protanopia #072245 ≈ 1.01% of males
Deuteranopia #0e2243 ≈ 1.27% of males
Tritanopia #27222b ≈ 0.0001% of males
Protanomaly #1c1f45 ≈ 1.08% of males
Deuteranomaly #1e1f43 ≈ 4.63% of males
Tritanomaly #291e37 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c1944 {
  color: #2c1944;
}
Background
.bg-2c1944 {
  background-color: #2c1944;
  color: #ffffff;
}
Border
.border-2c1944 {
  border: 2px solid #2c1944;
}
CSS variables
:root {
  --color-primary: #2c1944;
  --color-primary-rgb: 44 25 68;
  --color-primary-hsl: 267 46% 18%;
}
Gradient
.gradient-2c1944 {
  background: linear-gradient(135deg, #2c1944, #421944);
}
Colored shadow
.shadow-2c1944 {
  box-shadow: 0 8px 24px rgb(44 25 68 / 0.35);
}

Midnight Blue
#2c1944  rgb(44, 25, 68)  hsl(267, 46%, 18%)  Midnight Blue
#314419  rgb(49, 68, 25)  hsl(87, 46%, 18%)  Army Green
#442c19  rgb(68, 44, 25)  hsl(27, 46%, 18%)  Bistre
#19442c  rgb(25, 68, 44)  hsl(147, 46%, 18%)  British Racing Green