#021fd8 ≈ Medium Blue
#021fd8 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 0.78% red, 12.16% green and 84.71% blue; printed in CMYK it uses 99.07% cyan, 85.65% magenta, 0% yellow and 15.29% black. Its hue angle is 231.87°, with 98.17% saturation and 42.75% 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 9.59:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.77.
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.0595 |
Shades
#021fd8 mixed progressively with black.
Tints
#021fd8 mixed progressively with white.
Tones
#021fd8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-021fd8 {
color: #021fd8;
}
.bg-021fd8 {
background-color: #021fd8;
color: #ffffff;
}
.border-021fd8 {
border: 2px solid #021fd8;
}
:root {
--color-primary: #021fd8;
--color-primary-rgb: 2 31 216;
--color-primary-hsl: 232 98% 43%;
}
.gradient-021fd8 {
background: linear-gradient(135deg, #021fd8, #5002d8);
}
.shadow-021fd8 {
box-shadow: 0 8px 24px rgb(2 31 216 / 0.35);
}
Medium Blue
#021fd8 rgb(2, 31, 216) hsl(232, 98%, 43%) Medium Blue
#d8bb02 rgb(216, 187, 2) hsl(52, 98%, 43%) Old Gold
#d8021f rgb(216, 2, 31) hsl(352, 98%, 43%) Lava
#1fd802 rgb(31, 216, 2) hsl(112, 98%, 43%) Lime Green