#22012a ≈ Midnight Blue
#22012a 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.39% green and 16.47% blue; printed in CMYK it uses 19.05% cyan, 97.62% magenta, 0% yellow and 83.53% black. Its hue angle is 288.29°, with 95.35% saturation and 8.43% lightness in HSL. It sits between warm and cool, and is 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.99:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 15.49.
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.0053 |
Shades
#22012a mixed progressively with black.
Tints
#22012a mixed progressively with white.
Tones
#22012a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-22012a {
color: #22012a;
}
.bg-22012a {
background-color: #22012a;
color: #ffffff;
}
.border-22012a {
border: 2px solid #22012a;
}
:root {
--color-primary: #22012a;
--color-primary-rgb: 34 1 42;
--color-primary-hsl: 288 95% 8%;
}
.gradient-22012a {
background: linear-gradient(135deg, #22012a, #2a011d);
}
.shadow-22012a {
box-shadow: 0 8px 24px rgb(34 1 42 / 0.35);
}
Midnight Blue
#22012a rgb(34, 1, 42) hsl(288, 95%, 8%) Midnight Blue
#092a01 rgb(9, 42, 1) hsl(108, 95%, 8%) Phthalo Green
#2a2201 rgb(42, 34, 1) hsl(48, 95%, 8%) Bistre
#012a22 rgb(1, 42, 34) hsl(168, 95%, 8%) Phthalo Green