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.
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
9 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.
Slate blue color values
| RGB | 91 | 111 | 140 | |
|---|---|---|---|---|
| HSL | 216° | 21% | 45% | |
| HSV | 216° | 35% | 55% | |
| CMYK | 0.35 | 0.21 | 0.00 | 0.45 |
| XYZ | 14.7310 | 15.4858 | 27.0187 | |
| Yxy | 15.4858 | 0.2574 | 0.2706 | |
| CIE-Lab | 46.2925 | 0.0742 | -18.2787 | |
| Hunter Lab | 39.3520 | -2.0465 | -13.1615 | |
| OKLCH | 53.7% | 0.052 | 257.6° |
#5B6F8C is 91 red, 111 green and 140 blue. Its blue channel carries the most of it. The nearest of the 216 web safe colors is #666699.
CIE-Lab, XYZ and Yxy are measured against D65, the white point sRGB itself is defined against. Hunter Lab uses the original illuminant C constants, which is what paint and plastics specifications quote, so the two Lab rows are not directly comparable. CMYK is the plain arithmetic conversion: real ink values depend on the press, the paper and the profile.
| Base | Red | Green | Blue |
|---|---|---|---|
| Binary | 01011011 | 01101111 | 10001100 |
| Octal | 133 | 157 | 214 |
| Decimal | 91 | 111 | 140 |
| Hex | 5B | 6F | 8C |
#5b6f8c mixed with black
Ten even steps of the classic shade ramp, worked out in RGB, which is how the term has always been defined and how other references list it. The OKLCH scale further down this page answers a different question: it steps by equal perceived amounts, so its values are not the same.
- #5B6F8C
- #51637E
- #485870
- #3F4D62
- #364254
- #2D3746
- #242C38
- #1B212A
- #12161B
- #090B0D
- #000000
#5b6f8c mixed with white
The tint ramp, by the same rule in the other direction.
- #5B6F8C
- #6B7D97
- #7B8BA3
- #8C9AAE
- #9CA8BA
- #ADB7C5
- #BDC5D1
- #CDD3DC
- #DEE2E8
- #EEF0F3
- #FFFFFF
Channel shares
Color schemes
Turned in OKLCH rather than HSL, so every member keeps the lightness and chroma of the original instead of one of them arriving washed out.
Complementary
- #5B6F8C
- #7F6A4B
Triadic
- #5B6F8C
- #896263
- #5F7558
Analogous
- #5B6F8C
- #6C698B
- #4D7485
Monochromatic
- #031027
- #1C2D47
- #3A4D68
- #5B6F8C
- #7E93B1
- #A2B8D8
- #C9DFFF
#5b6f8c on black and on white
The quick brown fox jumps over the lazy dog. 4.10:1
The quick brown fox jumps over the lazy dog. 5.13:1
Body text needs 4.5:1 to meet AA and large text needs 3:1, so a ratio tells you which of the two backgrounds this color can be read on, and at what size.
CSS for #5b6f8c
color: #5b6f8c;
background-color: #5b6f8c;
border: 3px solid #5b6f8c;
box-shadow: 1px 1px 3px 2px #5b6f8c;
text-shadow: 4px 4px 2px rgba(91, 111, 140, 0.8);
/* Perceptually even, and what a modern stylesheet wants */
color: oklch(53.7% 0.052 257.6);The OKLCH form is the same color stated so that lightening or darkening it moves by an amount the eye agrees with. Every current browser understands 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.
No slate blue palettes yet
Run npm run generate to build the dataset.