#2C1961

#2c1961 ≈ Midnight Blue

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

#2c1961 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 17.25% red, 9.8% green and 38.04% blue; printed in CMYK it uses 54.64% cyan, 74.23% magenta, 0% yellow and 61.96% black. Its hue angle is 255.83°, with 59.02% saturation and 23.92% 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 14.8:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.26.

Description generated from the measured properties of this color.

Conversions of #2c1961 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.0209

Readable text 14.8:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #282828 ≈ 0.003% of males
Achromatomaly #292346 ≈ 0.001% of males
Protanopia #002963 ≈ 1.01% of males
Deuteranopia #002660 ≈ 1.27% of males
Tritanopia #192c3b ≈ 0.0001% of males
Protanomaly #0c2462 ≈ 1.08% of males
Deuteranomaly #0e2160 ≈ 4.63% of males
Tritanomaly #22254d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#2c1961  rgb(44, 25, 97)  hsl(256, 59%, 24%)  Midnight Blue
#4e6119  rgb(78, 97, 25)  hsl(76, 59%, 24%)  Dark Olive Green
#612c19  rgb(97, 44, 25)  hsl(16, 59%, 24%)  Caput Mortuum
#19612c  rgb(25, 97, 44)  hsl(136, 59%, 24%)  Cadmium Green