#2C1954

#2c1954 ≈ Midnight Blue

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

#2c1954 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 17.25% red, 9.8% green and 32.94% blue; printed in CMYK it uses 47.62% cyan, 70.24% magenta, 0% yellow and 67.06% black. Its hue angle is 259.32°, with 54.13% saturation and 21.37% 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.28:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.81.

Description generated from the measured properties of this color.

Conversions of #2c1954 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.0187

Readable text 15.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.37:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #252525 ≈ 0.003% of males
Achromatomaly #28213d ≈ 0.001% of males
Protanopia #002656 ≈ 1.01% of males
Deuteranopia #002453 ≈ 1.27% of males
Tritanopia #212734 ≈ 0.0001% of males
Protanomaly #152155 ≈ 1.08% of males
Deuteranomaly #172053 ≈ 4.63% of males
Tritanomaly #262243 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c1954 {
  color: #2c1954;
}
Background
.bg-2c1954 {
  background-color: #2c1954;
  color: #ffffff;
}
Border
.border-2c1954 {
  border: 2px solid #2c1954;
}
CSS variables
:root {
  --color-primary: #2c1954;
  --color-primary-rgb: 44 25 84;
  --color-primary-hsl: 259 54% 21%;
}
Gradient
.gradient-2c1954 {
  background: linear-gradient(135deg, #2c1954, #491954);
}
Colored shadow
.shadow-2c1954 {
  box-shadow: 0 8px 24px rgb(44 25 84 / 0.35);
}

Midnight Blue
#2c1954  rgb(44, 25, 84)  hsl(259, 54%, 21%)  Midnight Blue
#415419  rgb(65, 84, 25)  hsl(79, 54%, 21%)  Army Green
#542c19  rgb(84, 44, 25)  hsl(19, 54%, 21%)  Caput Mortuum
#19542c  rgb(25, 84, 44)  hsl(139, 54%, 21%)  Hunter Green