#2E245D

#2e245d ≈ Midnight Blue

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

#2e245d is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 18.04% red, 14.12% green and 36.47% blue; printed in CMYK it uses 50.54% cyan, 61.29% magenta, 0% yellow and 63.53% black. Its hue angle is 250.53°, with 44.19% saturation and 25.29% 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 13.76:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.53.

Description generated from the measured properties of this color.

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

Readable text 13.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.53:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2d2d2d ≈ 0.003% of males
Achromatomaly #2d2a45 ≈ 0.001% of males
Protanopia #012e5f ≈ 1.01% of males
Deuteranopia #012c5c ≈ 1.27% of males
Tritanopia #1f313c ≈ 0.0001% of males
Protanomaly #1b2b5e ≈ 1.08% of males
Deuteranomaly #1b295c ≈ 4.63% of males
Tritanomaly #262c4b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2e245d {
  color: #2e245d;
}
Background
.bg-2e245d {
  background-color: #2e245d;
  color: #ffffff;
}
Border
.border-2e245d {
  border: 2px solid #2e245d;
}
CSS variables
:root {
  --color-primary: #2e245d;
  --color-primary-rgb: 46 36 93;
  --color-primary-hsl: 251 44% 25%;
}
Gradient
.gradient-2e245d {
  background: linear-gradient(135deg, #2e245d, #4a245d);
}
Colored shadow
.shadow-2e245d {
  box-shadow: 0 8px 24px rgb(46 36 93 / 0.35);
}

Midnight Blue
#2e245d  rgb(46, 36, 93)  hsl(251, 44%, 25%)  Midnight Blue
#535d24  rgb(83, 93, 36)  hsl(71, 44%, 25%)  Army Green
#5d2e24  rgb(93, 46, 36)  hsl(11, 44%, 25%)  Caput Mortuum
#245d2e  rgb(36, 93, 46)  hsl(131, 44%, 25%)  Hunter Green