Dark Slate Blue color (#483D8B)
Dark Slate Blue is one of the 148 CSS named colors. Use the keyword darkslateblue
anywhere CSS accepts a color, or its hex code #483D8B, which is rgb(72, 61, 139) in RGB.
It is a dark, moderately saturated cool color with a hue angle of 249° on the HSL color wheel and a perceived lightness of 41% in OKLCH. On a dark slate blue background, white text gives the higher contrast at 9.06:1, which passes WCAG AA for normal text.
Dark Slate Blue color codes
| CSS name | darkslateblue |
|
|---|---|---|
| HEX | #483D8B |
|
| HEX (8-digit) | #483D8BFF |
|
| RGB | rgb(72, 61, 139) |
|
| HSL | hsl(249, 39%, 39%) |
|
| HSV / HSB | hsv(249, 56%, 55%) |
|
| OKLCH | oklch(41.4% 0.1248 286) |
|
| CMYK | cmyk(48.2%, 56.1%, 0%, 45.5%) |
Contrast with white and black
WCAG 2 contrast ratios and APCA lightness contrast (Lc) for dark slate blue used as text and as a background.
Tints and shades of dark slate blue
Tints mix dark slate blue with white; shades mix it with black, in 10% steps. Click a swatch to copy it, or build custom scales in the tint & shade generator.
Tints
Shades
Colors that go with dark slate blue
Harmonies calculated on the HSL color wheel. Explore more in the color scheme generator.
Complementary
Analogous
Triadic
Split-Complementary
Dark Slate Blue with color blindness
Approximately how dark slate blue appears with each type of color vision deficiency. Test full designs with the color blindness simulator.
Using dark slate blue in CSS
.element {
color: darkslateblue;
background-color: #483d8b;
border-color: rgb(72 61 139 / 50%);
outline-color: oklch(41.4% 0.1248 286);
}Similar named colors
See all shades of purple or browse every CSS color name.