Slate blue
Slate blue is a light, rich shade of blue. Hex code #6A5ACD.
Slate blue color codes
- CSS name
slateblue - HEX
#6A5ACD - RGB
rgb(106, 90, 205) - HSL
hsl(248, 53%, 58%) - OKLCH
oklch(54.4% 0.171 285.5)
HSB and CMYK values
- HSB / HSV
hsb(248, 56%, 80%) - CMYK
C48 M56 Y0 K20
White text
5.30:1 · passes WCAG AA
Black text
3.95:1 · passes WCAG AA for large text only
Shades of slate blue
A darker shade of slate blue is #4C36A6 (600), and a lighter one is #958CF7 (300).
Colors that go with slate blue
Complementary
Analogous
Triadic
The complementary color of slate blue is #BDCD5A.
Click a color to copy its hex code.
Colors similar to slate blue
- Royal blue#4169E1
Slightly lighter, less purple
- Medium slate blue#7B68EE
Lighter
- Medium purple#9370DB
Lighter, more purple
- Blue violet#8A2BE2
More purple, more vivid
- Dark orchid#9932CC
More purple, more vivid
- Rebecca purple#663399
Darker, more purple
Each compared with slate blue.
About this color
Slate blue in CSS and design
Slate blue is one of the extended color keywords, which mostly go back to the X11 color names of Unix systems. These four lines all give the same slate blue:
color: slateblue;
color: #6A5ACD;
color: rgb(106, 90, 205);
color: hsl(248, 53%, 58%);Frequently asked questions
What is the hex code for slate blue?
#6A5ACD. In CSS you can also use the keyword slateblue, which works in every browser.
What is slate blue in RGB and HSL?
In RGB it is rgb(106, 90, 205) and in HSL hsl(248, 53%, 58%). In CMYK it is about C48 M56 Y0 K20, though printed colors vary with paper and ink.
Should I use black or white text on slate blue?
White text works better: it has a contrast ratio of 5.30:1 and passes WCAG AA. Black text reaches 3.95:1.
What is the complementary color of slate blue?
#BDCD5A. It sits opposite slate blue on the color wheel: the hue turned 180 degrees, with the same saturation and lightness.
Which colors go with slate blue?
For strong contrast, pair it with its complementary color #BDCD5A. For a calmer look, combine it with its analogous neighbors #5A84CD and #A45ACD. The palette generator builds more combinations.