#5a498f ≈ Dark Slate Blue
#5a498f is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 35.29% red, 28.63% green and 56.08% blue; printed in CMYK it uses 37.06% cyan, 48.95% magenta, 0% yellow and 43.92% black. Its hue angle is 254.57°, with 32.41% 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.54:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 4.72.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #663399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0892 |
Shades
#5a498f mixed progressively with black.
Tints
#5a498f mixed progressively with white.
Tones
#5a498f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5a498f {
color: #5a498f;
}
.bg-5a498f {
background-color: #5a498f;
color: #ffffff;
}
.border-5a498f {
border: 2px solid #5a498f;
}
:root {
--color-primary: #5a498f;
--color-primary-rgb: 90 73 143;
--color-primary-hsl: 255 32% 42%;
}
.gradient-5a498f {
background: linear-gradient(135deg, #5a498f, #7d498f);
}
.shadow-5a498f {
box-shadow: 0 8px 24px rgb(90 73 143 / 0.35);
}
Dark Slate Blue
#5a498f rgb(90, 73, 143) hsl(255, 32%, 42%) Dark Slate Blue
#7e8f49 rgb(126, 143, 73) hsl(75, 32%, 42%) Moss Green
#8f5a49 rgb(143, 90, 73) hsl(15, 32%, 42%) Redwood
#498f5a rgb(73, 143, 90) hsl(135, 32%, 42%) Sea Green