#021fc2 ≈ Medium Blue
#021fc2 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 76.08% blue; printed in CMYK it uses 98.97% cyan, 84.02% magenta, 0% yellow and 23.92% black. Its hue angle is 230.94°, with 97.96% saturation and 38.43% 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.62:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.21.
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.0489 |
Shades
#021fc2 mixed progressively with black.
Tints
#021fc2 mixed progressively with white.
Tones
#021fc2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-021fc2 {
color: #021fc2;
}
.bg-021fc2 {
background-color: #021fc2;
color: #ffffff;
}
.border-021fc2 {
border: 2px solid #021fc2;
}
:root {
--color-primary: #021fc2;
--color-primary-rgb: 2 31 194;
--color-primary-hsl: 231 98% 38%;
}
.gradient-021fc2 {
background: linear-gradient(135deg, #021fc2, #4502c2);
}
.shadow-021fc2 {
box-shadow: 0 8px 24px rgb(2 31 194 / 0.35);
}
Medium Blue
#021fc2 rgb(2, 31, 194) hsl(231, 98%, 38%) Medium Blue
#c2a502 rgb(194, 165, 2) hsl(51, 98%, 38%) Metallic Gold
#c2021f rgb(194, 2, 31) hsl(351, 98%, 38%) Firebrick
#1fc202 rgb(31, 194, 2) hsl(111, 98%, 38%) Kelly Green