#24023B

#24023b ≈ Midnight Blue

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

#24023b is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 14.12% red, 0.78% green and 23.14% blue; printed in CMYK it uses 38.98% cyan, 96.61% magenta, 0% yellow and 76.86% black. Its hue angle is 275.79°, with 93.44% saturation and 11.96% 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 18.31:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 11.49.

Description generated from the measured properties of this color.

Conversions of #24023b 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.0073

Readable text 18.31:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.15:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #151515 ≈ 0.003% of males
Achromatomaly #1c0f29 ≈ 0.001% of males
Protanopia #00143c ≈ 1.01% of males
Deuteranopia #00153a ≈ 1.27% of males
Tritanopia #20111f ≈ 0.0001% of males
Protanomaly #0c0e3c ≈ 1.08% of males
Deuteranomaly #100f3a ≈ 4.63% of males
Tritanomaly #220c2d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-24023b {
  color: #24023b;
}
Background
.bg-24023b {
  background-color: #24023b;
  color: #ffffff;
}
Border
.border-24023b {
  border: 2px solid #24023b;
}
CSS variables
:root {
  --color-primary: #24023b;
  --color-primary-rgb: 36 2 59;
  --color-primary-hsl: 276 93% 12%;
}
Gradient
.gradient-24023b {
  background: linear-gradient(135deg, #24023b, #3b0235);
}
Colored shadow
.shadow-24023b {
  box-shadow: 0 8px 24px rgb(36 2 59 / 0.35);
}

Midnight Blue
#24023b  rgb(36, 2, 59)  hsl(276, 93%, 12%)  Midnight Blue
#193b02  rgb(25, 59, 2)  hsl(96, 93%, 12%)  British Racing Green
#3b2402  rgb(59, 36, 2)  hsl(36, 93%, 12%)  Bistre
#023b24  rgb(2, 59, 36)  hsl(156, 93%, 12%)  British Racing Green