#021663 ≈ Midnight Blue
#021663 is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 0.78% red, 8.63% green and 38.82% blue; printed in CMYK it uses 97.98% cyan, 77.78% magenta, 0% yellow and 61.18% black. Its hue angle is 227.63°, with 96.04% saturation and 19.8% 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 16.18:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.86.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0149 |
Shades
#021663 mixed progressively with black.
Tints
#021663 mixed progressively with white.
Tones
#021663 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-021663 {
color: #021663;
}
.bg-021663 {
background-color: #021663;
color: #ffffff;
}
.border-021663 {
border: 2px solid #021663;
}
:root {
--color-primary: #021663;
--color-primary-rgb: 2 22 99;
--color-primary-hsl: 228 96% 20%;
}
.gradient-021663 {
background: linear-gradient(135deg, #021663, #1e0263);
}
.shadow-021663 {
box-shadow: 0 8px 24px rgb(2 22 99 / 0.35);
}
Midnight Blue
#021663 rgb(2, 22, 99) hsl(228, 96%, 20%) Midnight Blue
#634f02 rgb(99, 79, 2) hsl(48, 96%, 20%) Field Drab
#630216 rgb(99, 2, 22) hsl(348, 96%, 20%) Rosewood
#166302 rgb(22, 99, 2) hsl(108, 96%, 20%) Dark Green