#24287c ≈ Midnight Blue
#24287c is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 14.12% red, 15.69% green and 48.63% blue; printed in CMYK it uses 70.97% cyan, 67.74% magenta, 0% yellow and 51.37% black. Its hue angle is 237.27°, with 55% saturation and 31.37% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and corporate identities. White text on this color reaches a contrast ratio of 12.58:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.18.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0335 |
Shades
#24287c mixed progressively with black.
Tints
#24287c mixed progressively with white.
Tones
#24287c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-24287c {
color: #24287c;
}
.bg-24287c {
background-color: #24287c;
color: #ffffff;
}
.border-24287c {
border: 2px solid #24287c;
}
:root {
--color-primary: #24287c;
--color-primary-rgb: 36 40 124;
--color-primary-hsl: 237 55% 31%;
}
.gradient-24287c {
background: linear-gradient(135deg, #24287c, #4c247c);
}
.shadow-24287c {
box-shadow: 0 8px 24px rgb(36 40 124 / 0.35);
}
Midnight Blue
#24287c rgb(36, 40, 124) hsl(237, 55%, 31%) Midnight Blue
#7c7824 rgb(124, 120, 36) hsl(57, 55%, 31%) Olive
#7c2428 rgb(124, 36, 40) hsl(357, 55%, 31%) Burgundy
#287c24 rgb(40, 124, 36) hsl(117, 55%, 31%) Green