#2C124D

#2c124d ≈ Midnight Blue

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

#2c124d 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, 7.06% green and 30.2% blue; printed in CMYK it uses 42.86% cyan, 76.62% magenta, 0% yellow and 69.8% black. Its hue angle is 266.44°, with 62.11% saturation and 18.63% 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 16.14:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.19.

Description generated from the measured properties of this color.

Conversions of #2c124d 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.015

Readable text 16.14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.3:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #212121 ≈ 0.003% of males
Achromatomaly #261c37 ≈ 0.001% of males
Protanopia #00214f ≈ 1.01% of males
Deuteranopia #00204c ≈ 1.27% of males
Tritanopia #24202e ≈ 0.0001% of males
Protanomaly #141c4e ≈ 1.08% of males
Deuteranomaly #171b4c ≈ 4.63% of males
Tritanomaly #281b3c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c124d {
  color: #2c124d;
}
Background
.bg-2c124d {
  background-color: #2c124d;
  color: #ffffff;
}
Border
.border-2c124d {
  border: 2px solid #2c124d;
}
CSS variables
:root {
  --color-primary: #2c124d;
  --color-primary-rgb: 44 18 77;
  --color-primary-hsl: 266 62% 19%;
}
Gradient
.gradient-2c124d {
  background: linear-gradient(135deg, #2c124d, #4a124d);
}
Colored shadow
.shadow-2c124d {
  box-shadow: 0 8px 24px rgb(44 18 77 / 0.35);
}

Midnight Blue
#2c124d  rgb(44, 18, 77)  hsl(266, 62%, 19%)  Midnight Blue
#334d12  rgb(51, 77, 18)  hsl(86, 62%, 19%)  Army Green
#4d2c12  rgb(77, 44, 18)  hsl(26, 62%, 19%)  Bistre
#124d2c  rgb(18, 77, 44)  hsl(146, 62%, 19%)  British Racing Green