#5804c8 ≈ Medium Blue
#5804c8 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 34.51% red, 1.57% green and 78.43% blue; printed in CMYK it uses 56% cyan, 98% magenta, 0% yellow and 21.57% black. Its hue angle is 265.71°, with 96.08% saturation and 40% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 9.27:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.87.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6600cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0633 |
Shades
#5804c8 mixed progressively with black.
Tints
#5804c8 mixed progressively with white.
Tones
#5804c8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5804c8 {
color: #5804c8;
}
.bg-5804c8 {
background-color: #5804c8;
color: #ffffff;
}
.border-5804c8 {
border: 2px solid #5804c8;
}
:root {
--color-primary: #5804c8;
--color-primary-rgb: 88 4 200;
--color-primary-hsl: 266 96% 40%;
}
.gradient-5804c8 {
background: linear-gradient(135deg, #5804c8, #ba04c8);
}
.shadow-5804c8 {
box-shadow: 0 8px 24px rgb(88 4 200 / 0.35);
}
Medium Blue
#5804c8 rgb(88, 4, 200) hsl(266, 96%, 40%) Medium Blue
#74c804 rgb(116, 200, 4) hsl(86, 96%, 40%) Yellow Green
#c85804 rgb(200, 88, 4) hsl(26, 96%, 40%) Burnt Orange
#04c858 rgb(4, 200, 88) hsl(146, 96%, 40%) Malachite