Slate blue color: hex codes, shades and palettes
Palettes built around slate blue. Click any swatch to copy its hex code.
A muted blue-grey named after the stone. Note that CSS also has a keyword `slateblue`, which is a much more saturated violet — they are not the same colour.
No slate blue palettes yet
Run npm run generate to build the dataset.
Slate blue hex, RGB, HSL and OKLCH
- HEX
#5B6F8C- RGB
rgb(91, 111, 140)- HSL
hsl(216, 21%, 45%)- OKLCH
oklch(53.7% 0.052 257.6)- On white
- 5.13:1
- On black
- 4.10:1
Shades of slate blue
Eleven steps from one base color, generated in OKLCH so each step is an equal perceived step rather than an equal numeric one. Click a swatch to copy it.
Contrast and readability
Slate blue on white measures 5.13:1 and on black 4.10:1. WCAG AA asks for 4.5:1 on normal text and 3:1 on large text and UI components, so the higher of those two decides which background it belongs on. In the scale above, 500 is the first to clear 4.5:1 on white, at 5.27:1.
The contrast checker reports every level for a given pair and suggests the nearest passing shade on the same hue. The color picker builds this same scale from any color you paste in.
Related colors:blue, navy, royal blue, cobalt, periwinkle, transparent blue. See every shade on the colors index.