#22002e ≈ Midnight Blue
#22002e 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, 0% green and 18.04% blue; printed in CMYK it uses 26.09% cyan, 100% magenta, 0% yellow and 81.96% black. Its hue angle is 284.35°, with 100% saturation and 9.02% 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.96:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 14.35.
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.0054 |
Shades
#22002e mixed progressively with black.
Tints
#22002e mixed progressively with white.
Tones
#22002e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-22002e {
color: #22002e;
}
.bg-22002e {
background-color: #22002e;
color: #ffffff;
}
.border-22002e {
border: 2px solid #22002e;
}
:root {
--color-primary: #22002e;
--color-primary-rgb: 34 0 46;
--color-primary-hsl: 284 100% 9%;
}
.gradient-22002e {
background: linear-gradient(135deg, #22002e, #2e0023);
}
.shadow-22002e {
box-shadow: 0 8px 24px rgb(34 0 46 / 0.35);
}
Midnight Blue
#22002e rgb(34, 0, 46) hsl(284, 100%, 9%) Midnight Blue
#0c2e00 rgb(12, 46, 0) hsl(104, 100%, 9%) British Racing Green
#2e2200 rgb(46, 34, 0) hsl(44, 100%, 9%) Bistre
#002e22 rgb(0, 46, 34) hsl(164, 100%, 9%) Phthalo Green