#020ec8 ≈ Medium Blue
#020ec8 is a color from the blue family, with low lightness and vivid saturation. In the RGB model it is made of 0.78% red, 5.49% green and 78.43% blue; printed in CMYK it uses 99% cyan, 93% magenta, 0% yellow and 21.57% black. Its hue angle is 236.36°, with 98.02% saturation and 39.61% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 11.06:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.03.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0000cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.045 |
Shades
#020ec8 mixed progressively with black.
Tints
#020ec8 mixed progressively with white.
Tones
#020ec8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-020ec8 {
color: #020ec8;
}
.bg-020ec8 {
background-color: #020ec8;
color: #ffffff;
}
.border-020ec8 {
border: 2px solid #020ec8;
}
:root {
--color-primary: #020ec8;
--color-primary-rgb: 2 14 200;
--color-primary-hsl: 236 98% 40%;
}
.gradient-020ec8 {
background: linear-gradient(135deg, #020ec8, #5902c8);
}
.shadow-020ec8 {
box-shadow: 0 8px 24px rgb(2 14 200 / 0.35);
}
Medium Blue
#020ec8 rgb(2, 14, 200) hsl(236, 98%, 40%) Medium Blue
#c8bc02 rgb(200, 188, 2) hsl(56, 98%, 40%) Old Gold
#c8020e rgb(200, 2, 14) hsl(356, 98%, 40%) Venetian Red
#0ec802 rgb(14, 200, 2) hsl(116, 98%, 40%) Lime Green