Skip to content

Slate blue

Slate blue is a light, rich color from the blue family. Hex code #6A5ACD.

Slate blue#6A5ACD

Color codes

  • CSS nameslateblue
  • HEX#6A5ACD
  • RGBrgb(106 90 205)
  • HSLhsl(248 53% 58%)
  • HSB / HSVhsb(248, 56%, 80%)
  • OKLCHoklch(54.4% 0.171 285.5)
  • CMYKcmyk(48%, 56%, 0%, 20%)

White text

5.30:1 · passes WCAG AA

Black text

3.95:1 · passes WCAG AA for large text only

Shades

50#F0F0FE
100#D0D0FB
200#B1AEFD
300#958CF7
400#7B6DE2
500#6352C4
600#4C36A6
700#371789
800#22045F

Complementary

#6A5ACD
#79730B

Analogous

#6A5ACD
#156DD0
#9549B2

Triadic

#6A5ACD
#B54A00
#058460

About this color

Slate blue in CSS and design

Slate blue is a light, rich color from the blue family. Slate blue is one of the extended color keywords, which CSS adopted from the X11 color names used on Unix workstations.

Use it in CSS by name or by any of its codes; these all give the same color:

color: slateblue;
color: #6A5ACD;
color: rgb(106 90 205);
color: hsl(248 53% 58%);

For text on slate blue, white reads best. Check other combinations with the contrast checker, or browse all CSS color names.

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), in HSL hsl(248 53% 58%). For print, cmyk(48%, 56%, 0%, 20%) is a starting point, but CMYK depends on paper and ink, so check with your printer.

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.

Which colors go with slate blue?

Its complementary color is #79730B, on the opposite side of the color wheel. For a calmer look, combine it with its analogous neighbors #156DD0 and #9549B2. The palette generator builds more combinations.