#021fe2 ≈ Blue
#021fe2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 0.78% red, 12.16% green and 88.63% blue; printed in CMYK it uses 99.12% cyan, 86.28% magenta, 0% yellow and 11.37% black. Its hue angle is 232.23°, with 98.25% saturation and 44.71% 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.14:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.39.
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.0648 |
Shades
#021fe2 mixed progressively with black.
Tints
#021fe2 mixed progressively with white.
Tones
#021fe2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-021fe2 {
color: #021fe2;
}
.bg-021fe2 {
background-color: #021fe2;
color: #ffffff;
}
.border-021fe2 {
border: 2px solid #021fe2;
}
:root {
--color-primary: #021fe2;
--color-primary-rgb: 2 31 226;
--color-primary-hsl: 232 98% 45%;
}
.gradient-021fe2 {
background: linear-gradient(135deg, #021fe2, #5502e2);
}
.shadow-021fe2 {
box-shadow: 0 8px 24px rgb(2 31 226 / 0.35);
}
Blue
#021fe2 rgb(2, 31, 226) hsl(232, 98%, 45%) Blue
#e2c502 rgb(226, 197, 2) hsl(52, 98%, 45%) Citrine
#e2021f rgb(226, 2, 31) hsl(352, 98%, 45%) Cadmium Red
#1fe202 rgb(31, 226, 2) hsl(112, 98%, 45%) Lime Green