#2C164A

#2c164a ≈ Midnight Blue

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

#2c164a 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, 8.63% green and 29.02% blue; printed in CMYK it uses 40.54% cyan, 70.27% magenta, 0% yellow and 70.98% black. Its hue angle is 265.38°, with 54.17% saturation and 18.82% 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.9:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 9.02.

Description generated from the measured properties of this color.

Conversions of #2c164a into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#330033
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.016

Readable text 15.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #222222 ≈ 0.003% of males
Achromatomaly #261e36 ≈ 0.001% of males
Protanopia #00224c ≈ 1.01% of males
Deuteranopia #022249 ≈ 1.27% of males
Tritanopia #25222d ≈ 0.0001% of males
Protanomaly #181e4b ≈ 1.08% of males
Deuteranomaly #1a1d49 ≈ 4.63% of males
Tritanomaly #281d3b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c164a {
  color: #2c164a;
}
Background
.bg-2c164a {
  background-color: #2c164a;
  color: #ffffff;
}
Border
.border-2c164a {
  border: 2px solid #2c164a;
}
CSS variables
:root {
  --color-primary: #2c164a;
  --color-primary-rgb: 44 22 74;
  --color-primary-hsl: 265 54% 19%;
}
Gradient
.gradient-2c164a {
  background: linear-gradient(135deg, #2c164a, #46164a);
}
Colored shadow
.shadow-2c164a {
  box-shadow: 0 8px 24px rgb(44 22 74 / 0.35);
}

Midnight Blue
#2c164a  rgb(44, 22, 74)  hsl(265, 54%, 19%)  Midnight Blue
#344a16  rgb(52, 74, 22)  hsl(85, 54%, 19%)  Army Green
#4a2c16  rgb(74, 44, 22)  hsl(25, 54%, 19%)  Bistre
#164a2c  rgb(22, 74, 44)  hsl(145, 54%, 19%)  British Racing Green