#24104f ≈ Midnight Blue
#24104f 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, 6.27% green and 30.98% blue; printed in CMYK it uses 54.43% cyan, 79.75% magenta, 0% yellow and 69.02% black. Its hue angle is 259.05°, with 66.32% saturation and 18.63% 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 16.64:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.75.
Description generated from the measured properties of this color.
| 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 luminance | 0.0131 |
Shades
#24104f mixed progressively with black.
Tints
#24104f mixed progressively with white.
Tones
#24104f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-24104f {
color: #24104f;
}
.bg-24104f {
background-color: #24104f;
color: #ffffff;
}
.border-24104f {
border: 2px solid #24104f;
}
:root {
--color-primary: #24104f;
--color-primary-rgb: 36 16 79;
--color-primary-hsl: 259 66% 19%;
}
.gradient-24104f {
background: linear-gradient(135deg, #24104f, #44104f);
}
.shadow-24104f {
box-shadow: 0 8px 24px rgb(36 16 79 / 0.35);
}
Midnight Blue
#24104f rgb(36, 16, 79) hsl(259, 66%, 19%) Midnight Blue
#3b4f10 rgb(59, 79, 16) hsl(79, 66%, 19%) Army Green
#4f2410 rgb(79, 36, 16) hsl(19, 66%, 19%) Caput Mortuum
#104f24 rgb(16, 79, 36) hsl(139, 66%, 19%) British Racing Green