#2C155D

#2c155d ≈ Midnight Blue

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

#2c155d is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 17.25% red, 8.24% green and 36.47% blue; printed in CMYK it uses 52.69% cyan, 77.42% magenta, 0% yellow and 63.53% black. Its hue angle is 259.17°, with 63.16% saturation and 22.35% 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.3:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.99.

Description generated from the measured properties of this color.

Conversions of #2c155d 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.0186

Readable text 15.3: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 #282042 ≈ 0.001% of males
Protanopia #00265f ≈ 1.01% of males
Deuteranopia #00245c ≈ 1.27% of males
Tritanopia #1c2837 ≈ 0.0001% of males
Protanomaly #0c205e ≈ 1.08% of males
Deuteranomaly #0e1f5c ≈ 4.63% of males
Tritanomaly #232249 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#2c155d  rgb(44, 21, 93)  hsl(259, 63%, 22%)  Midnight Blue
#465d15  rgb(70, 93, 21)  hsl(79, 63%, 22%)  Army Green
#5d2c15  rgb(93, 44, 21)  hsl(19, 63%, 22%)  Caput Mortuum
#155d2c  rgb(21, 93, 44)  hsl(139, 63%, 22%)  Cadmium Green