#021fc8 ≈ Medium Blue
#021fc8 is a color from the blue family, with low lightness and vivid saturation. In the RGB model it is made of 0.78% red, 12.16% green and 78.43% blue; printed in CMYK it uses 99% cyan, 84.5% magenta, 0% yellow and 21.57% black. Its hue angle is 231.21°, 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 10.33:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.12.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0033cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0516 |
Shades
#021fc8 mixed progressively with black.
Tints
#021fc8 mixed progressively with white.
Tones
#021fc8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-021fc8 {
color: #021fc8;
}
.bg-021fc8 {
background-color: #021fc8;
color: #ffffff;
}
.border-021fc8 {
border: 2px solid #021fc8;
}
:root {
--color-primary: #021fc8;
--color-primary-rgb: 2 31 200;
--color-primary-hsl: 231 98% 40%;
}
.gradient-021fc8 {
background: linear-gradient(135deg, #021fc8, #4802c8);
}
.shadow-021fc8 {
box-shadow: 0 8px 24px rgb(2 31 200 / 0.35);
}
Medium Blue
#021fc8 rgb(2, 31, 200) hsl(231, 98%, 40%) Medium Blue
#c8ab02 rgb(200, 171, 2) hsl(51, 98%, 40%) Old Gold
#c8021f rgb(200, 2, 31) hsl(351, 98%, 40%) Lava
#1fc802 rgb(31, 200, 2) hsl(111, 98%, 40%) Lime Green