#240d36 ≈ Midnight Blue
#240d36 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, 5.1% green and 21.18% blue; printed in CMYK it uses 33.33% cyan, 75.93% magenta, 0% yellow and 78.82% black. Its hue angle is 273.66°, with 61.19% saturation and 13.14% 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 17.71:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 12.8.
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.0093 |
Shades
#240d36 mixed progressively with black.
Tints
#240d36 mixed progressively with white.
Tones
#240d36 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-240d36 {
color: #240d36;
}
.bg-240d36 {
background-color: #240d36;
color: #ffffff;
}
.border-240d36 {
border: 2px solid #240d36;
}
:root {
--color-primary: #240d36;
--color-primary-rgb: 36 13 54;
--color-primary-hsl: 274 61% 13%;
}
.gradient-240d36 {
background: linear-gradient(135deg, #240d36, #360d34);
}
.shadow-240d36 {
box-shadow: 0 8px 24px rgb(36 13 54 / 0.35);
}
Midnight Blue
#240d36 rgb(36, 13, 54) hsl(274, 61%, 13%) Midnight Blue
#1f360d rgb(31, 54, 13) hsl(94, 61%, 13%) British Racing Green
#36240d rgb(54, 36, 13) hsl(34, 61%, 13%) Bistre
#0d3624 rgb(13, 54, 36) hsl(154, 61%, 13%) Phthalo Green