Slate blue #6A5ACD
Slate blue is one of the named colours in CSS, written slateblue. White text reaches 5.31:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | slateblue |
|---|---|
| HEX | #6A5ACD |
| RGB | rgb(106 90 205) |
| HSL | hsl(248 53% 58%) |
| OKLCH | oklch(54.4% 0.171 285.5) |
| White text | 5.31:1 · body text AA Pass |
| Black text | 3.96:1 · body text AA Fail |
Colours that go with Slate blue
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Blue Violet (#6450A1), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Slate blue itself.
| Colour | HEX | Contrast with Slate blue | Body text AA |
|---|---|---|---|
| Nile Blue | #BCE4E5 | 3.88:1 | Fail |
| Pale King's Blue | #A7D4E4 | 3.33:1 | Fail |
| Olive Buff | #C1C494 | 2.93:1 | Fail |
| Pinkish Cinnamon | #EEB480 | 2.90:1 | Fail |
| Cameo Pink | #E0B3B6 | 2.85:1 | Fail |
| Venice Green | #62C6BF | 2.62:1 | Fail |
| Citron Yellow | #B2B73E | 2.46:1 | Fail |
| Hay's Russet | #793327 | 1.71:1 | Fail |
| Eupatorium Purple | #BF5892 | 1.27:1 | Fail |
| Brick Red | #A84222 | 1.14:1 | Fail |
| Spectrum Red | #E31F26 | 1.13:1 | Fail |
Palettes with Blue Violet
- Combination #116 Cameo Pink · Blue Violet
- Combination #175 Pinkish Cinnamon · Olive Buff · Blue Violet
- Combination #196 Citron Yellow · Pale King's Blue · Blue Violet
- Combination #322 Spectrum Red · Brick Red · Eupatorium Purple · Blue Violet
- Combination #345 Hay's Russet · Nile Blue · Venice Green · Blue Violet
Shades and tints of Slate blue
Nine lightness steps in OKLCH that keep the hue of Slate blue. Chroma is reduced only where sRGB cannot show it.
- 100#F4F4FF
- 200#E1E1FF
- 300#C8C7FF
- 400#AAA4FF
- 500#8B7EF5
- 600#6C5CCF
- 700#513DAE
- 800#391B8D
- 900#220062
:root {
--slateblue-100: #F4F4FF;
--slateblue-200: #E1E1FF;
--slateblue-300: #C8C7FF;
--slateblue-400: #AAA4FF;
--slateblue-500: #8B7EF5;
--slateblue-600: #6C5CCF;
--slateblue-700: #513DAE;
--slateblue-800: #391B8D;
--slateblue-900: #220062;
}
Text that keeps Slate blue on screen
Text #6A5ACD on #F4F4FF reaches 4.86:1, which passes WCAG AA for body text. Check it on a dashboard