#24042d ≈ Midnight Blue
#24042d is a color from the magenta family, with very low lightness and muted saturation. In the RGB model it is made of 14.12% red, 1.57% green and 17.65% blue; printed in CMYK it uses 20% cyan, 91.11% magenta, 0% yellow and 82.35% black. Its hue angle is 286.83°, with 83.67% saturation and 9.61% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 18.58:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 15.01.
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.0065 |
Shades
#24042d mixed progressively with black.
Tints
#24042d mixed progressively with white.
Tones
#24042d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-24042d {
color: #24042d;
}
.bg-24042d {
background-color: #24042d;
color: #ffffff;
}
.border-24042d {
border: 2px solid #24042d;
}
:root {
--color-primary: #24042d;
--color-primary-rgb: 36 4 45;
--color-primary-hsl: 287 84% 10%;
}
.gradient-24042d {
background: linear-gradient(135deg, #24042d, #2d0422);
}
.shadow-24042d {
box-shadow: 0 8px 24px rgb(36 4 45 / 0.35);
}
Midnight Blue
#24042d rgb(36, 4, 45) hsl(287, 84%, 10%) Midnight Blue
#0d2d04 rgb(13, 45, 4) hsl(107, 84%, 10%) Phthalo Green
#2d2404 rgb(45, 36, 4) hsl(47, 84%, 10%) Bistre
#042d24 rgb(4, 45, 36) hsl(167, 84%, 10%) Phthalo Green