#2C1957

#2c1957 ≈ Midnight Blue

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

#2c1957 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 34.12% blue; printed in CMYK it uses 49.43% cyan, 71.26% magenta, 0% yellow and 65.88% black. Its hue angle is 258.39°, with 55.36% saturation and 21.96% 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.18:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.16.

Description generated from the measured properties of this color.

Conversions of #2c1957 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.0192

Readable text 15.18:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #262626 ≈ 0.003% of males
Achromatomaly #28213f ≈ 0.001% of males
Protanopia #002759 ≈ 1.01% of males
Deuteranopia #002556 ≈ 1.27% of males
Tritanopia #1f2835 ≈ 0.0001% of males
Protanomaly #142258 ≈ 1.08% of males
Deuteranomaly #152056 ≈ 4.63% of males
Tritanomaly #252345 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c1957 {
  color: #2c1957;
}
Background
.bg-2c1957 {
  background-color: #2c1957;
  color: #ffffff;
}
Border
.border-2c1957 {
  border: 2px solid #2c1957;
}
CSS variables
:root {
  --color-primary: #2c1957;
  --color-primary-rgb: 44 25 87;
  --color-primary-hsl: 258 55% 22%;
}
Gradient
.gradient-2c1957 {
  background: linear-gradient(135deg, #2c1957, #4b1957);
}
Colored shadow
.shadow-2c1957 {
  box-shadow: 0 8px 24px rgb(44 25 87 / 0.35);
}

Midnight Blue
#2c1957  rgb(44, 25, 87)  hsl(258, 55%, 22%)  Midnight Blue
#445719  rgb(68, 87, 25)  hsl(78, 55%, 22%)  Army Green
#572c19  rgb(87, 44, 25)  hsl(18, 55%, 22%)  Caput Mortuum
#19572c  rgb(25, 87, 44)  hsl(138, 55%, 22%)  Hunter Green