#2D194D

#2d194d ≈ Midnight Blue

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

#2d194d is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 17.65% red, 9.8% green and 30.2% blue; printed in CMYK it uses 41.56% cyan, 67.53% magenta, 0% yellow and 69.8% black. Its hue angle is 263.08°, with 50.98% saturation and 20% 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.47:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.62.

Description generated from the measured properties of this color.

Conversions of #2d194d 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.0179

Readable text 15.47:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.36:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #242424 ≈ 0.003% of males
Achromatomaly #282039 ≈ 0.001% of males
Protanopia #00244f ≈ 1.01% of males
Deuteranopia #04244c ≈ 1.27% of males
Tritanopia #252430 ≈ 0.0001% of males
Protanomaly #19204e ≈ 1.08% of males
Deuteranomaly #1b204c ≈ 4.63% of males
Tritanomaly #29203d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2d194d {
  color: #2d194d;
}
Background
.bg-2d194d {
  background-color: #2d194d;
  color: #ffffff;
}
Border
.border-2d194d {
  border: 2px solid #2d194d;
}
CSS variables
:root {
  --color-primary: #2d194d;
  --color-primary-rgb: 45 25 77;
  --color-primary-hsl: 263 51% 20%;
}
Gradient
.gradient-2d194d {
  background: linear-gradient(135deg, #2d194d, #47194d);
}
Colored shadow
.shadow-2d194d {
  box-shadow: 0 8px 24px rgb(45 25 77 / 0.35);
}

Midnight Blue
#2d194d  rgb(45, 25, 77)  hsl(263, 51%, 20%)  Midnight Blue
#394d19  rgb(57, 77, 25)  hsl(83, 51%, 20%)  Army Green
#4d2d19  rgb(77, 45, 25)  hsl(23, 51%, 20%)  Bistre
#194d2d  rgb(25, 77, 45)  hsl(143, 51%, 20%)  British Racing Green