#22042e ≈ Midnight Blue
#22042e is a color from the magenta family, with very low lightness and muted saturation. In the RGB model it is made of 13.33% red, 1.57% green and 18.04% blue; printed in CMYK it uses 26.09% cyan, 91.3% magenta, 0% yellow and 81.96% black. Its hue angle is 282.86°, with 84% saturation and 9.8% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 18.67:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 14.44.
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.0062 |
Shades
#22042e mixed progressively with black.
Tints
#22042e mixed progressively with white.
Tones
#22042e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-22042e {
color: #22042e;
}
.bg-22042e {
background-color: #22042e;
color: #ffffff;
}
.border-22042e {
border: 2px solid #22042e;
}
:root {
--color-primary: #22042e;
--color-primary-rgb: 34 4 46;
--color-primary-hsl: 283 84% 10%;
}
.gradient-22042e {
background: linear-gradient(135deg, #22042e, #2e0425);
}
.shadow-22042e {
box-shadow: 0 8px 24px rgb(34 4 46 / 0.35);
}
Midnight Blue
#22042e rgb(34, 4, 46) hsl(283, 84%, 10%) Midnight Blue
#102e04 rgb(16, 46, 4) hsl(103, 84%, 10%) Phthalo Green
#2e2204 rgb(46, 34, 4) hsl(43, 84%, 10%) Bistre
#042e22 rgb(4, 46, 34) hsl(163, 84%, 10%) Phthalo Green