Slate gray #708090
Slate gray is one of the named colours in CSS, written slategray or slategrey. Black text reaches 5.18:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | slategray or slategrey |
|---|---|
| HEX | #708090 |
| RGB | rgb(112 128 144) |
| HSL | hsl(210 13% 50%) |
| OKLCH | oklch(59.3% 0.031 248.3) |
| White text | 4.05:1 · body text AA Fail |
| Black text | 5.18:1 · body text AA Pass |
Colours that go with Slate gray
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Andover Green (#6D7E77), close. These are the colours Wada paired it with, ranked by their contrast with Slate gray itself.
| Colour | HEX | Contrast with Slate gray | Body text AA |
|---|---|---|---|
| Turquoise Green | #B5DECC | 2.76:1 | Fail |
| Light Green Yellow | #C7D14F | 2.44:1 | Fail |
| Light Brown Drab | #B59392 | 1.46:1 | Fail |
| Antwarp Blue | #007190 | 1.38:1 | Fail |
| Rosolanc Purple | #B73F74 | 1.30:1 | Fail |
| Vinaceous Tawny | #C56127 | 1.01:1 | Fail |
Palettes with Andover Green
Shades and tints of Slate gray
Nine lightness steps in OKLCH that keep the hue of Slate gray. Chroma is reduced only where sRGB cannot show it.
- 100#EEF6FF
- 200#D5E7F9
- 300#BFD0E2
- 400#A2B3C4
- 500#8494A5
- 600#647483
- 700#485766
- 800#2E3C4A
- 900#162330
:root {
--slategray-100: #EEF6FF;
--slategray-200: #D5E7F9;
--slategray-300: #BFD0E2;
--slategray-400: #A2B3C4;
--slategray-500: #8494A5;
--slategray-600: #647483;
--slategray-700: #485766;
--slategray-800: #2E3C4A;
--slategray-900: #162330;
}
Text that keeps Slate gray on screen
Text #000000 on #708090 reaches 5.18:1, which passes WCAG AA for body text. Check it on a dashboard