Slate Gray color #708090
rgb(112, 128, 144) · oklch(59.3% 0.031 248.3)
Slate Gray (#708090) is a medium, muted, cool blue, also written as “slategrey” in CSS. It mixes 44% red, 50% green and 56% blue, with a perceived lightness of 59.3% in OKLCH. Black text reads best on it (5.17:1 vs 4.05:1). The closest other CSS color is Light Slate Gray (#778899). For people with tritanopia it shifts the most, toward #678485.
Slate Gray color codes
| HEX | |
|---|---|
| RGB | |
| HSL | |
| HSV / HSB | |
| OKLCH | |
| CMYK | |
| CSS keyword |
Click a value to copy it. Convert any other color with the color converter.
Shades, tints and tones of slate gray
Shades mix slate gray with black, tints mix it with white, and tones mix it with gray. Mixing happens in OKLab, so the steps look evenly spaced.
Tints (lighter)
Shades (darker)
Tones (muted)
Slate Gray as a UI color scale (50–950)
An 11-step scale for design systems, with slate gray placed at step 500. Copy it as a Tailwind v4 theme below.
Colors that go with slate gray
Harmonies are computed on the OKLCH hue wheel, keeping slate gray’s lightness and saturation where the sRGB gamut allows. Open any row in the palette generator to adjust it.
Complementary
EditThe base color and the hue directly opposite it. Maximum contrast; use one as the accent.
Split complementary
EditThe base plus the two hues beside its complement (±30°). Contrast with less tension than complementary.
Tetradic (rectangle)
EditTwo complementary pairs (rectangle: 0°, 60°, 180°, 240°). Rich; needs one dominant color.
Is slate gray accessible? Contrast with white and black
4.05:1
AA fail AA large pass AAA fail
5.17:1
AA pass AA large pass AAA fail
- As a background, slate gray works best with black text.
- For body text on white, use the darker variant (the closest color that passes AA, 4.5:1).
How slate gray looks with color blindness
Simulated with the Machado et al. (2009) model. Around 1 in 12 men and 1 in 200 women have some form of color vision deficiency.
#7a8091 Red-blind. Reds look dark and brownish; red and green are easily confused.
#767d90 Green-blind, the most common strong form. Red, green, orange and brown look similar.
#678485 Blue-blind and rare. Blue and green are confused, as are yellow and pink.
#7e7e7e Total color blindness, very rare. Only lightness differences are visible.
Colors similar to slate gray
The closest CSS named colors by perceptual distance (ΔE OK; under 2 is hard to tell apart).
Use slate gray in CSS and Tailwind
CSS custom properties
:root {
--slategray: #708090;
--slategray-rgb: 112 128 144;
}
.text-slategray { color: var(--slategray); }
.bg-slategray { background-color: var(--slategray); }
Tailwind v4 theme
@theme {
--color-slategray-50: #f6f7f7;
--color-slategray-100: #ecedee;
--color-slategray-200: #d8dbde;
--color-slategray-300: #bac2c9;
--color-slategray-400: #95a3b2;
--color-slategray-500: #708090;
--color-slategray-600: #62707f;
--color-slategray-700: #4f5964;
--color-slategray-800: #3e464e;
--color-slategray-900: #31363b;
--color-slategray-950: #1d2022;
}
Make a gradient from slate gray: open the gradient generator.
Painting in Procreate or designing in Photoshop? See our palette packs: every color with HEX codes is free to browse, and the swatch files are a quick download.