#020797 ≈ Dark Blue
#020797 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 0.78% red, 2.75% green and 59.22% blue; printed in CMYK it uses 98.68% cyan, 95.36% magenta, 0% yellow and 40.78% black. Its hue angle is 237.99°, with 97.39% saturation and 30% 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 corporate identities. White text on this color reaches a contrast ratio of 14.19:1 (WCAG AAA). The closest named color is Dark Blue (#00008b), ΔE 2.01.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.024 |
Shades
#020797 mixed progressively with black.
Tints
#020797 mixed progressively with white.
Tones
#020797 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-020797 {
color: #020797;
}
.bg-020797 {
background-color: #020797;
color: #ffffff;
}
.border-020797 {
border: 2px solid #020797;
}
:root {
--color-primary: #020797;
--color-primary-rgb: 2 7 151;
--color-primary-hsl: 238 97% 30%;
}
.gradient-020797 {
background: linear-gradient(135deg, #020797, #480297);
}
.shadow-020797 {
box-shadow: 0 8px 24px rgb(2 7 151 / 0.35);
}
Dark Blue
#020797 rgb(2, 7, 151) hsl(238, 97%, 30%) Dark Blue
#979202 rgb(151, 146, 2) hsl(58, 97%, 30%) Olive
#970207 rgb(151, 2, 7) hsl(358, 97%, 30%) Sangria
#079702 rgb(7, 151, 2) hsl(118, 97%, 30%) Islamic Green