Slate Blue Color Code (#6a5acd)

Slate Blue is #6a5acd in hex and rgb(106, 90, 205) — a medium blue. Below: every color format, tints and shades, harmonies and how readable it is as text.

Updated

Slate Blue
#6a5acd
CSS nameslateblue
Hex#6a5acd
RGBrgb(106, 90, 205)
HSLhsl(248 53% 58%)
HWBhwb(248 35% 20%)
CMYK48%, 56%, 0%, 20%

Tints and shades

Color harmonies

About Slate Blue

Slate Blue (slateblue) is a medium, moderately saturated blue with the hex code #6a5acd, or rgb(106, 90, 205). In HSL it sits at a hue of 248°, 53% saturation and 58% lightness. It is one of the 148 named colors every browser understands, so you can write color: slateblue; instead of the hex value.

Using Slate Blue for text and backgrounds

PairingContrast ratioWCAG
Slate Blue text on white5.31 : 1AA
Slate Blue text on black3.96 : 1AA large text only

On a slate blue background, use white text (5.31 : 1). WCAG asks for at least 4.5 : 1 for body text and 3 : 1 for large text. Check other pairs with the Contrast Checker.

CSS

.element {
  color: slateblue;               /* or #6a5acd */
  background-color: #6a5acd;
  border: 1px solid rgb(106 90 205 / 50%);
}

Similar named colors

Medium Slate Blue (#7b68ee), Royal Blue (#4169e1), Medium Purple (#9370db), Steel Blue (#4682b4), Blue Violet (#8a2be2), Dark Orchid (#9932cc).

Color Name FinderPaste a HEX code to get its closest human-readable name and clean token names for your CSS, SCSS, JavaScript or Tailwind config.
Open the tool

Frequently asked questions

What is the hex code for slate blue?
#6a5acd — that is rgb(106, 90, 205) and hsl(248, 53%, 58%). In CSS you can also just write slateblue.
Is slate blue text readable on white?
Its contrast ratio on white is 5.31 : 1, which passes WCAG AA for normal text.
What colors go well with slate blue?
Its complementary color is #becd5b; analogous colors #5b85cd and #a35bcd sit next to it on the color wheel.