#2C1947

#2c1947 ≈ Midnight Blue

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

#2c1947 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 27.84% blue; printed in CMYK it uses 38.03% cyan, 64.79% magenta, 0% yellow and 72.16% black. Its hue angle is 264.78°, with 47.92% saturation and 18.82% 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.71:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 10.05.

Description generated from the measured properties of this color.

Conversions of #2c1947 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.0169

Readable text 15.71:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.34:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #232323 ≈ 0.003% of males
Achromatomaly #271f35 ≈ 0.001% of males
Protanopia #042349 ≈ 1.01% of males
Deuteranopia #0b2346 ≈ 1.27% of males
Tritanopia #26222d ≈ 0.0001% of males
Protanomaly #1b1f48 ≈ 1.08% of males
Deuteranomaly #1d1f46 ≈ 4.63% of males
Tritanomaly #291f39 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c1947 {
  color: #2c1947;
}
Background
.bg-2c1947 {
  background-color: #2c1947;
  color: #ffffff;
}
Border
.border-2c1947 {
  border: 2px solid #2c1947;
}
CSS variables
:root {
  --color-primary: #2c1947;
  --color-primary-rgb: 44 25 71;
  --color-primary-hsl: 265 48% 19%;
}
Gradient
.gradient-2c1947 {
  background: linear-gradient(135deg, #2c1947, #431947);
}
Colored shadow
.shadow-2c1947 {
  box-shadow: 0 8px 24px rgb(44 25 71 / 0.35);
}

Midnight Blue
#2c1947  rgb(44, 25, 71)  hsl(265, 48%, 19%)  Midnight Blue
#344719  rgb(52, 71, 25)  hsl(85, 48%, 19%)  Army Green
#472c19  rgb(71, 44, 25)  hsl(25, 48%, 19%)  Bistre
#19472c  rgb(25, 71, 44)  hsl(145, 48%, 19%)  British Racing Green