#021cd2 ≈ Medium Blue
#021cd2 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 82.35% blue; printed in CMYK it uses 99.05% cyan, 86.67% magenta, 0% yellow and 17.65% black. Its hue angle is 232.5°, with 98.11% saturation and 41.57% 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:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.95.
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.055 |
Shades
#021cd2 mixed progressively with black.
Tints
#021cd2 mixed progressively with white.
Tones
#021cd2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-021cd2 {
color: #021cd2;
}
.bg-021cd2 {
background-color: #021cd2;
color: #ffffff;
}
.border-021cd2 {
border: 2px solid #021cd2;
}
:root {
--color-primary: #021cd2;
--color-primary-rgb: 2 28 210;
--color-primary-hsl: 233 98% 42%;
}
.gradient-021cd2 {
background: linear-gradient(135deg, #021cd2, #5002d2);
}
.shadow-021cd2 {
box-shadow: 0 8px 24px rgb(2 28 210 / 0.35);
}
Medium Blue
#021cd2 rgb(2, 28, 210) hsl(233, 98%, 42%) Medium Blue
#d2b802 rgb(210, 184, 2) hsl(53, 98%, 42%) Old Gold
#d2021c rgb(210, 2, 28) hsl(353, 98%, 42%) Lava
#1cd202 rgb(28, 210, 2) hsl(113, 98%, 42%) Lime Green