#021968 ≈ Midnight Blue
#021968 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 0.78% red, 9.8% green and 40.78% blue; printed in CMYK it uses 98.08% cyan, 75.96% magenta, 0% yellow and 59.22% black. Its hue angle is 226.47°, with 96.23% saturation and 20.78% 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 15.65:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.47.
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.0171 |
Shades
#021968 mixed progressively with black.
Tints
#021968 mixed progressively with white.
Tones
#021968 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-021968 {
color: #021968;
}
.bg-021968 {
background-color: #021968;
color: #ffffff;
}
.border-021968 {
border: 2px solid #021968;
}
:root {
--color-primary: #021968;
--color-primary-rgb: 2 25 104;
--color-primary-hsl: 226 96% 21%;
}
.gradient-021968 {
background: linear-gradient(135deg, #021968, #1e0268);
}
.shadow-021968 {
box-shadow: 0 8px 24px rgb(2 25 104 / 0.35);
}
Midnight Blue
#021968 rgb(2, 25, 104) hsl(226, 96%, 21%) Midnight Blue
#685102 rgb(104, 81, 2) hsl(46, 96%, 21%) Field Drab
#680219 rgb(104, 2, 25) hsl(346, 96%, 21%) Rosewood
#196802 rgb(25, 104, 2) hsl(106, 96%, 21%) Pakistan Green