#020298 ≈ Dark Blue
#020298 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 0.78% red, 0.78% green and 59.61% blue; printed in CMYK it uses 98.68% cyan, 98.68% magenta, 0% yellow and 40.39% black. Its hue angle is 240°, with 97.4% saturation and 30.2% 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.34:1 (WCAG AAA). The closest named color is Dark Blue (#00008b), ΔE 1.88.
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.0232 |
Shades
#020298 mixed progressively with black.
Tints
#020298 mixed progressively with white.
Tones
#020298 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-020298 {
color: #020298;
}
.bg-020298 {
background-color: #020298;
color: #ffffff;
}
.border-020298 {
border: 2px solid #020298;
}
:root {
--color-primary: #020298;
--color-primary-rgb: 2 2 152;
--color-primary-hsl: 240 97% 30%;
}
.gradient-020298 {
background: linear-gradient(135deg, #020298, #4d0298);
}
.shadow-020298 {
box-shadow: 0 8px 24px rgb(2 2 152 / 0.35);
}
Dark Blue
#020298 rgb(2, 2, 152) hsl(240, 97%, 30%) Dark Blue
#989802 rgb(152, 152, 2) hsl(60, 97%, 30%) Brass
#980202 rgb(152, 2, 2) hsl(0, 97%, 30%) Sangria
#029802 rgb(2, 152, 2) hsl(120, 97%, 30%) Islamic Green