#020643 ≈ Midnight Blue
#020643 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, 2.35% green and 26.27% blue; printed in CMYK it uses 97.01% cyan, 91.04% magenta, 0% yellow and 73.73% black. Its hue angle is 236.31°, with 94.2% saturation and 13.53% 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 18.92:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.17.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0055 |
Shades
#020643 mixed progressively with black.
Tints
#020643 mixed progressively with white.
Tones
#020643 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-020643 {
color: #020643;
}
.bg-020643 {
background-color: #020643;
color: #ffffff;
}
.border-020643 {
border: 2px solid #020643;
}
:root {
--color-primary: #020643;
--color-primary-rgb: 2 6 67;
--color-primary-hsl: 236 94% 14%;
}
.gradient-020643 {
background: linear-gradient(135deg, #020643, #1f0243);
}
.shadow-020643 {
box-shadow: 0 8px 24px rgb(2 6 67 / 0.35);
}
Midnight Blue
#020643 rgb(2, 6, 67) hsl(236, 94%, 14%) Midnight Blue
#433f02 rgb(67, 63, 2) hsl(56, 94%, 14%) Army Green
#430206 rgb(67, 2, 6) hsl(356, 94%, 14%) Rosewood
#064302 rgb(6, 67, 2) hsl(116, 94%, 14%) Lincoln Green