#0412e2 ≈ Blue
#0412e2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 7.06% green and 88.63% blue; printed in CMYK it uses 98.23% cyan, 92.04% magenta, 0% yellow and 11.37% black. Its hue angle is 236.22°, with 96.52% saturation and 45.1% 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.59:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.26.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0000cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0595 |
Shades
#0412e2 mixed progressively with black.
Tints
#0412e2 mixed progressively with white.
Tones
#0412e2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0412e2 {
color: #0412e2;
}
.bg-0412e2 {
background-color: #0412e2;
color: #ffffff;
}
.border-0412e2 {
border: 2px solid #0412e2;
}
:root {
--color-primary: #0412e2;
--color-primary-rgb: 4 18 226;
--color-primary-hsl: 236 97% 45%;
}
.gradient-0412e2 {
background: linear-gradient(135deg, #0412e2, #6504e2);
}
.shadow-0412e2 {
box-shadow: 0 8px 24px rgb(4 18 226 / 0.35);
}
Blue
#0412e2 rgb(4, 18, 226) hsl(236, 97%, 45%) Blue
#e2d404 rgb(226, 212, 4) hsl(56, 97%, 45%) Citrine
#e20412 rgb(226, 4, 18) hsl(356, 97%, 45%) Lust
#12e204 rgb(18, 226, 4) hsl(116, 97%, 45%) Lime Green