Slate Gray #708090

Slate Gray color (#708090)

Slate Gray is one of the 148 CSS named colors. Use the keyword slategray anywhere CSS accepts a color, or its hex code #708090, which is rgb(112, 128, 144) in RGB. The keyword slategrey produces exactly the same color.

It is a medium, muted color with a hue angle of 210° on the HSL color wheel and a perceived lightness of 59% in OKLCH. On a slate gray background, black text gives the higher contrast at 5.17:1, which passes WCAG AA for normal text.

Slate Gray color codes

CSS name slategray
HEX #708090
HEX (8-digit) #708090FF
RGB rgb(112, 128, 144)
HSL hsl(210, 13%, 50%)
HSV / HSB hsv(210, 22%, 57%)
OKLCH oklch(59.3% 0.0309 248.3)
CMYK cmyk(22.2%, 11.1%, 0%, 43.5%)

Contrast with white and black

WCAG 2 contrast ratios and APCA lightness contrast (Lc) for slate gray used as text and as a background.

Aa Sample text
Slate Gray text on white
4.05:1 WCAG Lc 67.8 APCA AA large text only
Aa Sample text
Slate Gray text on black
5.17:1 WCAG Lc -33.9 APCA Passes AA
Aa Sample text
White text on slate gray
4.05:1 WCAG Lc -73.3 APCA AA large text only
Aa Sample text
Black text on slate gray
5.17:1 WCAG Lc 36.3 APCA Passes AA

Tints and shades of slate gray

Tints mix slate gray with white; shades mix it with black, in 10% steps. Click a swatch to copy it, or build custom scales in the tint & shade generator.

Tints

Shades

Colors that go with slate gray

Harmonies calculated on the HSL color wheel. Explore more in the color scheme generator.

Complementary

Analogous

Triadic

Split-Complementary

Slate Gray with color blindness

Approximately how slate gray appears with each type of color vision deficiency. Test full designs with the color blindness simulator.

Using slate gray in CSS

.element {
  color: slategray;
  background-color: #708090;
  border-color: rgb(112 128 144 / 50%);
  outline-color: oklch(59.3% 0.0309 248.3);
}

Similar named colors

See all shades of gray or browse every CSS color name.

Related tools