#5c4e8a ≈ Dark Slate Blue
#5c4e8a is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 36.08% red, 30.59% green and 54.12% blue; printed in CMYK it uses 33.33% cyan, 43.48% magenta, 0% yellow and 45.88% black. Its hue angle is 254°, with 27.78% saturation and 42.35% 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 brand accents. White text on this color reaches a contrast ratio of 7.21:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 6.63.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666699 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0956 |
Shades
#5c4e8a mixed progressively with black.
Tints
#5c4e8a mixed progressively with white.
Tones
#5c4e8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5c4e8a {
color: #5c4e8a;
}
.bg-5c4e8a {
background-color: #5c4e8a;
color: #ffffff;
}
.border-5c4e8a {
border: 2px solid #5c4e8a;
}
:root {
--color-primary: #5c4e8a;
--color-primary-rgb: 92 78 138;
--color-primary-hsl: 254 28% 42%;
}
.gradient-5c4e8a {
background: linear-gradient(135deg, #5c4e8a, #7a4e8a);
}
.shadow-5c4e8a {
box-shadow: 0 8px 24px rgb(92 78 138 / 0.35);
}
Dark Slate Blue
#5c4e8a rgb(92, 78, 138) hsl(254, 28%, 42%) Dark Slate Blue
#7c8a4e rgb(124, 138, 78) hsl(74, 28%, 42%) Moss Green
#8a5c4e rgb(138, 92, 78) hsl(14, 28%, 42%) Redwood
#4e8a5c rgb(78, 138, 92) hsl(134, 28%, 42%) Sea Green