#0804dc ≈ Medium Blue
#0804dc 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 86.27% blue; printed in CMYK it uses 96.36% cyan, 98.18% magenta, 0% yellow and 13.73% black. Its hue angle is 241.11°, with 96.43% saturation and 43.92% 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.19:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.12.
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.0531 |
Shades
#0804dc mixed progressively with black.
Tints
#0804dc mixed progressively with white.
Tones
#0804dc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0804dc {
color: #0804dc;
}
.bg-0804dc {
background-color: #0804dc;
color: #ffffff;
}
.border-0804dc {
border: 2px solid #0804dc;
}
:root {
--color-primary: #0804dc;
--color-primary-rgb: 8 4 220;
--color-primary-hsl: 241 96% 44%;
}
.gradient-0804dc {
background: linear-gradient(135deg, #0804dc, #7404dc);
}
.shadow-0804dc {
box-shadow: 0 8px 24px rgb(8 4 220 / 0.35);
}
Medium Blue
#0804dc rgb(8, 4, 220) hsl(241, 96%, 44%) Medium Blue
#d8dc04 rgb(216, 220, 4) hsl(61, 96%, 44%) Pear
#dc0804 rgb(220, 8, 4) hsl(1, 96%, 44%) Rosso Corsa
#04dc08 rgb(4, 220, 8) hsl(121, 96%, 44%) Lime Green