darkslateblue — #483D8B
#483D8B
rgb(72, 61, 139) · hsl(248, 39%, 39%) · CSS keyword darkslateblue
Can you put text on it?
| Contrast | Body text | Large text | |
|---|---|---|---|
| darkslateblue on white | 9.07:1 | AA | AA |
| darkslateblue on black | 2.32:1 | — | — |
As a background, darkslateblue takes white text: 9.07:1 against 2.32:1 the other way. A colour picker will give you the hex and stop there, which is why so many palettes look right and fail an accessibility audit.
Using it
color: darkslateblue;
color: #483d8b;
color: rgb(72 61 139);
All three are the same colour. The keyword is one of the 141 CSS named colours — a list settled in CSS 2.1 and added to exactly once since, when rebeccapurple was standardised in 2014.
Colours close to darkslateblue
- rebeccapurple — #663399
- darkslategray — #2F4F4F
- slateblue — #6A5ACD
- midnightblue — #191970
- dimgray — #696969
- royalblue — #4169E1
Frequently asked questions
What is the hex code for darkslateblue?
The hex code for darkslateblue is #483D8B — RGB 72, 61, 139.
Can I use darkslateblue for text?
Yes. darkslateblue reaches 9.07:1 against white, past the 4.5:1 that WCAG AA asks for body text.
Should text on darkslateblue be black or white?
White — 9.07:1 against 2.32:1 the other way.
Other named colours
- darkslategray — #2F4F4F
- darkturquoise — #00CED1
- darkviolet — #9400D3
- deeppink — #FF1493
- deepskyblue — #00BFFF
- dimgray — #696969
- dodgerblue — #1E90FF
- firebrick — #B22222
- floralwhite — #FFFAF0
- forestgreen — #228B22
- fuchsia — #FF00FF
- gainsboro — #DCDCDC
#483D8B in full — tints, shades and harmonies · All named colours · Colour reference