#02206f ≈ Midnight Blue
#02206f is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 0.78% red, 12.55% green and 43.53% blue; printed in CMYK it uses 98.2% cyan, 71.17% magenta, 0% yellow and 56.47% black. Its hue angle is 223.49°, with 96.46% saturation and 22.16% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 14.6:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.4.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0219 |
Shades
#02206f mixed progressively with black.
Tints
#02206f mixed progressively with white.
Tones
#02206f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-02206f {
color: #02206f;
}
.bg-02206f {
background-color: #02206f;
color: #ffffff;
}
.border-02206f {
border: 2px solid #02206f;
}
:root {
--color-primary: #02206f;
--color-primary-rgb: 2 32 111;
--color-primary-hsl: 223 96% 22%;
}
.gradient-02206f {
background: linear-gradient(135deg, #02206f, #1b026f);
}
.shadow-02206f {
box-shadow: 0 8px 24px rgb(2 32 111 / 0.35);
}
Midnight Blue
#02206f rgb(2, 32, 111) hsl(223, 96%, 22%) Midnight Blue
#6f5102 rgb(111, 81, 2) hsl(43, 96%, 22%) Field Drab
#6f0220 rgb(111, 2, 32) hsl(343, 96%, 22%) Burgundy
#206f02 rgb(32, 111, 2) hsl(103, 96%, 22%) Pakistan Green