100% free no uploads no sign-up

slate blue color code

The hex code for slate blue is #6A5ACD, which is rgb(106, 90, 205) in RGB and cmyk(48%, 56%, 0%, 20%) in CMYK. It's a medium, moderately saturated blue. It is a built-in CSS colour, so you can also write it as “slateblue”.

#6A5ACDslate blue
White text: 5.30:1 ✓ AABlack text: 3.95:1 large text onlyNearest name: slate blue

Move the sliders to find a lighter, darker or softer slate blue; the codes update as you go.

Slate Blue colour codes

HEX#6A5ACD
RGBrgb(106, 90, 205)
HSLhsl(248, 53%, 58%)
HSV / HSBhsv(248, 56%, 80%)
CMYKcmyk(48%, 56%, 0%, 20%)
Decimal6970061
CSS keywordslateblue

About slate blue

Slate Blue sits at a hue of 248° on the colour wheel, with 53% saturation and 58% lightness. That makes it a cool colour: cool colours feel calm and steady and appear to recede, so they work well for large areas.

For text, white reads better on slate blue. Slate Blue as text on a white background has a contrast ratio of 5.3:1, which passes the WCAG AA rule for body text (4.5:1). On black it is 3.95:1, which fails AA for body text.

Tints and shades of slate blue

Tints mix slate blue with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.

#F0EFFA#E1DEF5#D2CEF0#C3BDEB#B5ADE6#A69CE1#978CDC#887BD7#796BD2
slate blue #6A5ACD
#5F51B9#5548A4#4A3F90#40367B#352D67#2A2452#201B3E#151229#0B0915

Colours that go with slate blue

Complementary — opposite on the colour wheel: maximum contrast

#6A5ACD#BDCD5A

Analogous — neighbours 30° either side: calm and natural

#5A84CD#6A5ACD#A45ACD

Triadic — three hues 120° apart: lively but balanced

#6A5ACD#CD6A5A#5ACD6A

Split complementary — the two neighbours of the complement: contrast with less tension

#6A5ACD#CDA35A#84CD5A

Tetradic — four hues 90° apart: rich, use one as the main colour

#6A5ACD#CD5A84#BDCD5A#5ACDA3

Slate Blue text contrast

CombinationRatioAA normal (4.5:1)AA large (3:1)AAA (7:1)
slate blue on white5.3:1passpassfail
slate blue on black3.95:1failpassfail

Check slate blue against any other colour in the contrast checker.

How slate blue looks with colour blindness

Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.

normal #6A5ACDprotanopia #0E70D1deuteranopia #0668CBtritanopia #48748B

Use slate blue in code

.slate-blue {
  color: slateblue;
  background-color: #6a5acd;
  border-color: rgb(106, 90, 205);
}

Frequently asked questions

What is the hex code for slate blue?

Slate Blue is #6A5ACD (lowercase #6a5acd). It's the official value of the CSS keyword “slateblue”.

What is slate blue in RGB, HSL and CMYK?

RGB: rgb(106, 90, 205). HSL: hsl(248, 53%, 58%). CMYK: cmyk(48%, 56%, 0%, 20%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.

What colours go with slate blue?

Its complementary colour is #BDCD5A (close to yellow green), which gives the strongest contrast. For a calmer look, use the analogous colours #5A84CD and #A45ACD, or the triadic pair #CD6A5A and #5ACD6A. Tints and shades of slate blue itself always work together.

Is slate blue a warm or cool colour?

Slate Blue has a hue of 248°, which makes it cool.

Should I use black or white text on slate blue?

White. Black text on slate blue has a contrast ratio of 3.95:1 and white text has 5.3:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

How do I use slate blue in CSS?

Write color: slateblue; or color: #6a5acd; — both give the same colour. Named colours work in every browser.

Colours similar to slate blue