#2C1962

#2c1962 ≈ Midnight Blue

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

#2c1962 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.43% blue; printed in CMYK it uses 55.1% cyan, 74.49% magenta, 0% yellow and 61.57% black. Its hue angle is 255.62°, with 59.35% saturation and 24.12% 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.76:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.1.

Description generated from the measured properties of this color.

Conversions of #2c1962 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.0211

Readable text 14.76: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 #2a2346 ≈ 0.001% of males
Protanopia #002964 ≈ 1.01% of males
Deuteranopia #002661 ≈ 1.27% of males
Tritanopia #182c3b ≈ 0.0001% of males
Protanomaly #0b2463 ≈ 1.08% of males
Deuteranomaly #0d2161 ≈ 4.63% of males
Tritanomaly #21264e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#2c1962  rgb(44, 25, 98)  hsl(256, 59%, 24%)  Midnight Blue
#4f6219  rgb(79, 98, 25)  hsl(76, 59%, 24%)  Dark Olive Green
#622c19  rgb(98, 44, 25)  hsl(16, 59%, 24%)  Caput Mortuum
#19622c  rgb(25, 98, 44)  hsl(136, 59%, 24%)  Cadmium Green