#291237 ≈ Midnight Blue
#291237 is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 16.08% red, 7.06% green and 21.57% blue; printed in CMYK it uses 25.45% cyan, 67.27% magenta, 0% yellow and 78.43% black. Its hue angle is 277.3°, with 50.68% saturation and 14.31% 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.99:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 13.58.
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.0118 |
Shades
#291237 mixed progressively with black.
Tints
#291237 mixed progressively with white.
Tones
#291237 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-291237 {
color: #291237;
}
.bg-291237 {
background-color: #291237;
color: #ffffff;
}
.border-291237 {
border: 2px solid #291237;
}
:root {
--color-primary: #291237;
--color-primary-rgb: 41 18 55;
--color-primary-hsl: 277 51% 14%;
}
.gradient-291237 {
background: linear-gradient(135deg, #291237, #371232);
}
.shadow-291237 {
box-shadow: 0 8px 24px rgb(41 18 55 / 0.35);
}
Midnight Blue
#291237 rgb(41, 18, 55) hsl(277, 51%, 14%) Midnight Blue
#203712 rgb(32, 55, 18) hsl(97, 51%, 14%) Phthalo Green
#372912 rgb(55, 41, 18) hsl(37, 51%, 14%) Bistre
#123729 rgb(18, 55, 41) hsl(157, 51%, 14%) Phthalo Green