#24023b ≈ Midnight Blue
#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.
| 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 luminance | 0.0073 |
Shades
#24023b mixed progressively with black.
Tints
#24023b mixed progressively with white.
Tones
#24023b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-24023b {
color: #24023b;
}
.bg-24023b {
background-color: #24023b;
color: #ffffff;
}
.border-24023b {
border: 2px solid #24023b;
}
:root {
--color-primary: #24023b;
--color-primary-rgb: 36 2 59;
--color-primary-hsl: 276 93% 12%;
}
.gradient-24023b {
background: linear-gradient(135deg, #24023b, #3b0235);
}
.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