#021ec5 ≈ Medium Blue
#021ec5 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.76% green and 77.25% blue; printed in CMYK it uses 98.98% cyan, 84.77% magenta, 0% yellow and 22.75% black. Its hue angle is 231.38°, with 97.99% saturation and 39.02% 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.53:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.98.
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.0497 |
Shades
#021ec5 mixed progressively with black.
Tints
#021ec5 mixed progressively with white.
Tones
#021ec5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-021ec5 {
color: #021ec5;
}
.bg-021ec5 {
background-color: #021ec5;
color: #ffffff;
}
.border-021ec5 {
border: 2px solid #021ec5;
}
:root {
--color-primary: #021ec5;
--color-primary-rgb: 2 30 197;
--color-primary-hsl: 231 98% 39%;
}
.gradient-021ec5 {
background: linear-gradient(135deg, #021ec5, #4702c5);
}
.shadow-021ec5 {
box-shadow: 0 8px 24px rgb(2 30 197 / 0.35);
}
Medium Blue
#021ec5 rgb(2, 30, 197) hsl(231, 98%, 39%) Medium Blue
#c5a902 rgb(197, 169, 2) hsl(51, 98%, 39%) Old Gold
#c5021e rgb(197, 2, 30) hsl(351, 98%, 39%) Venetian Red
#1ec502 rgb(30, 197, 2) hsl(111, 98%, 39%) Lime Green