#021dc7 ≈ Medium Blue
#021dc7 is a color from the blue family, with low lightness and vivid saturation. In the RGB model it is made of 0.78% red, 11.37% green and 78.04% blue; printed in CMYK it uses 98.99% cyan, 85.43% magenta, 0% yellow and 21.96% black. Its hue angle is 231.78°, with 98.01% saturation and 39.41% 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.48:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.8.
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.0502 |
Shades
#021dc7 mixed progressively with black.
Tints
#021dc7 mixed progressively with white.
Tones
#021dc7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-021dc7 {
color: #021dc7;
}
.bg-021dc7 {
background-color: #021dc7;
color: #ffffff;
}
.border-021dc7 {
border: 2px solid #021dc7;
}
:root {
--color-primary: #021dc7;
--color-primary-rgb: 2 29 199;
--color-primary-hsl: 232 98% 39%;
}
.gradient-021dc7 {
background: linear-gradient(135deg, #021dc7, #4a02c7);
}
.shadow-021dc7 {
box-shadow: 0 8px 24px rgb(2 29 199 / 0.35);
}
Medium Blue
#021dc7 rgb(2, 29, 199) hsl(232, 98%, 39%) Medium Blue
#c7ac02 rgb(199, 172, 2) hsl(52, 98%, 39%) Old Gold
#c7021d rgb(199, 2, 29) hsl(352, 98%, 39%) Venetian Red
#1dc702 rgb(29, 199, 2) hsl(112, 98%, 39%) Lime Green