#24115E

#24115e ≈ Midnight Blue

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

#24115e is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 14.12% red, 6.67% green and 36.86% blue; printed in CMYK it uses 61.7% cyan, 81.91% magenta, 0% yellow and 63.14% black. Its hue angle is 254.81°, with 69.37% saturation and 21.76% 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.95:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.05.

Description generated from the measured properties of this color.

Conversions of #24115e 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.0158

Readable text 15.95: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 #231c42 ≈ 0.001% of males
Protanopia #002460 ≈ 1.01% of males
Deuteranopia #001f5d ≈ 1.27% of males
Tritanopia #062737 ≈ 0.0001% of males
Protanomaly #001e5f ≈ 1.08% of males
Deuteranomaly #001b5d ≈ 4.63% of males
Tritanomaly #16204a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-24115e {
  color: #24115e;
}
Background
.bg-24115e {
  background-color: #24115e;
  color: #ffffff;
}
Border
.border-24115e {
  border: 2px solid #24115e;
}
CSS variables
:root {
  --color-primary: #24115e;
  --color-primary-rgb: 36 17 94;
  --color-primary-hsl: 255 69% 22%;
}
Gradient
.gradient-24115e {
  background: linear-gradient(135deg, #24115e, #4a115e);
}
Colored shadow
.shadow-24115e {
  box-shadow: 0 8px 24px rgb(36 17 94 / 0.35);
}

Midnight Blue
#24115e  rgb(36, 17, 94)  hsl(255, 69%, 22%)  Midnight Blue
#4b5e11  rgb(75, 94, 17)  hsl(75, 69%, 22%)  Army Green
#5e2411  rgb(94, 36, 17)  hsl(15, 69%, 22%)  Caput Mortuum
#115e24  rgb(17, 94, 36)  hsl(135, 69%, 22%)  Lincoln Green