#0804e2 ≈ Medium Blue
#0804e2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 3.14% red, 1.57% green and 88.63% blue; printed in CMYK it uses 96.46% cyan, 98.23% magenta, 0% yellow and 11.37% black. Its hue angle is 241.08°, 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.88:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.88.
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.0563 |
Shades
#0804e2 mixed progressively with black.
Tints
#0804e2 mixed progressively with white.
Tones
#0804e2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0804e2 {
color: #0804e2;
}
.bg-0804e2 {
background-color: #0804e2;
color: #ffffff;
}
.border-0804e2 {
border: 2px solid #0804e2;
}
:root {
--color-primary: #0804e2;
--color-primary-rgb: 8 4 226;
--color-primary-hsl: 241 97% 45%;
}
.gradient-0804e2 {
background: linear-gradient(135deg, #0804e2, #7704e2);
}
.shadow-0804e2 {
box-shadow: 0 8px 24px rgb(8 4 226 / 0.35);
}
Medium Blue
#0804e2 rgb(8, 4, 226) hsl(241, 97%, 45%) Medium Blue
#dee204 rgb(222, 226, 4) hsl(61, 97%, 45%) Titanium Yellow
#e20804 rgb(226, 8, 4) hsl(1, 97%, 45%) Rosso Corsa
#04e208 rgb(4, 226, 8) hsl(121, 97%, 45%) Malachite