#24052d ≈ Midnight Blue
#24052d 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.96% green and 17.65% blue; printed in CMYK it uses 20% cyan, 88.89% magenta, 0% yellow and 82.35% black. Its hue angle is 286.5°, with 80% saturation and 9.8% 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.51:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 15.04.
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.0067 |
Shades
#24052d mixed progressively with black.
Tints
#24052d mixed progressively with white.
Tones
#24052d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-24052d {
color: #24052d;
}
.bg-24052d {
background-color: #24052d;
color: #ffffff;
}
.border-24052d {
border: 2px solid #24052d;
}
:root {
--color-primary: #24052d;
--color-primary-rgb: 36 5 45;
--color-primary-hsl: 287 80% 10%;
}
.gradient-24052d {
background: linear-gradient(135deg, #24052d, #2d0522);
}
.shadow-24052d {
box-shadow: 0 8px 24px rgb(36 5 45 / 0.35);
}
Midnight Blue
#24052d rgb(36, 5, 45) hsl(287, 80%, 10%) Midnight Blue
#0e2d05 rgb(14, 45, 5) hsl(107, 80%, 10%) Phthalo Green
#2d2405 rgb(45, 36, 5) hsl(47, 80%, 10%) Bistre
#052d24 rgb(5, 45, 36) hsl(167, 80%, 10%) Phthalo Green