#021cd7 ≈ Medium Blue
#021cd7 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 0.78% red, 10.98% green and 84.31% blue; printed in CMYK it uses 99.07% cyan, 86.98% magenta, 0% yellow and 15.69% black. Its hue angle is 232.68°, with 98.16% saturation and 42.55% 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.77:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.29.
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.0575 |
Shades
#021cd7 mixed progressively with black.
Tints
#021cd7 mixed progressively with white.
Tones
#021cd7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-021cd7 {
color: #021cd7;
}
.bg-021cd7 {
background-color: #021cd7;
color: #ffffff;
}
.border-021cd7 {
border: 2px solid #021cd7;
}
:root {
--color-primary: #021cd7;
--color-primary-rgb: 2 28 215;
--color-primary-hsl: 233 98% 43%;
}
.gradient-021cd7 {
background: linear-gradient(135deg, #021cd7, #5302d7);
}
.shadow-021cd7 {
box-shadow: 0 8px 24px rgb(2 28 215 / 0.35);
}
Medium Blue
#021cd7 rgb(2, 28, 215) hsl(233, 98%, 43%) Medium Blue
#d7bd02 rgb(215, 189, 2) hsl(53, 98%, 43%) Old Gold
#d7021c rgb(215, 2, 28) hsl(353, 98%, 43%) Lava
#1cd702 rgb(28, 215, 2) hsl(113, 98%, 43%) Lime Green