#24255f ≈ Midnight Blue
#24255f is a color from the blue family, with low lightness and muted saturation. In the RGB model it is made of 14.12% red, 14.51% green and 37.25% blue; printed in CMYK it uses 62.11% cyan, 61.05% magenta, 0% yellow and 62.75% black. Its hue angle is 238.98°, with 45.04% saturation and 25.69% 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 luxury branding. White text on this color reaches a contrast ratio of 13.95:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.78.
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.0252 |
Shades
#24255f mixed progressively with black.
Tints
#24255f mixed progressively with white.
Tones
#24255f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-24255f {
color: #24255f;
}
.bg-24255f {
background-color: #24255f;
color: #ffffff;
}
.border-24255f {
border: 2px solid #24255f;
}
:root {
--color-primary: #24255f;
--color-primary-rgb: 36 37 95;
--color-primary-hsl: 239 45% 26%;
}
.gradient-24255f {
background: linear-gradient(135deg, #24255f, #41245f);
}
.shadow-24255f {
box-shadow: 0 8px 24px rgb(36 37 95 / 0.35);
}
Midnight Blue
#24255f rgb(36, 37, 95) hsl(239, 45%, 26%) Midnight Blue
#5f5e24 rgb(95, 94, 36) hsl(59, 45%, 26%) Army Green
#5f2425 rgb(95, 36, 37) hsl(359, 45%, 26%) Caput Mortuum
#255f24 rgb(37, 95, 36) hsl(119, 45%, 26%) Lincoln Green