#0420ec ≈ Blue
#0420ec is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 12.55% green and 92.55% blue; printed in CMYK it uses 98.31% cyan, 86.44% magenta, 0% yellow and 7.45% black. Its hue angle is 232.76°, with 96.67% saturation and 47.06% 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 8.67:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.58.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0033ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0711 |
Shades
#0420ec mixed progressively with black.
Tints
#0420ec mixed progressively with white.
Tones
#0420ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0420ec {
color: #0420ec;
}
.bg-0420ec {
background-color: #0420ec;
color: #ffffff;
}
.border-0420ec {
border: 2px solid #0420ec;
}
:root {
--color-primary: #0420ec;
--color-primary-rgb: 4 32 236;
--color-primary-hsl: 233 97% 47%;
}
.gradient-0420ec {
background: linear-gradient(135deg, #0420ec, #5c04ec);
}
.shadow-0420ec {
box-shadow: 0 8px 24px rgb(4 32 236 / 0.35);
}
Blue
#0420ec rgb(4, 32, 236) hsl(233, 97%, 47%) Blue
#ecd004 rgb(236, 208, 4) hsl(53, 97%, 47%) Citrine
#ec0420 rgb(236, 4, 32) hsl(353, 97%, 47%) Lust
#20ec04 rgb(32, 236, 4) hsl(113, 97%, 47%) Lime