Skip to content

Slate gray

Slate gray is a medium, muted color from the blue family. Hex code #708090.

Slate gray#708090

Color codes

  • CSS nameslategray, slategrey
  • HEX#708090
  • RGBrgb(112 128 144)
  • HSLhsl(210 13% 50%)
  • HSB / HSVhsb(210, 22%, 56%)
  • OKLCHoklch(59.3% 0.031 248.3)
  • CMYKcmyk(22%, 11%, 0%, 44%)

White text

4.05:1 · passes WCAG AA for large text only

Black text

5.17:1 · passes WCAG AA

Shades

50#E9F3FE
100#C5D7E9
200#A9BACC
300#8E9FAF
400#748494
500#5A6A79
600#425160
700#2B3947
800#162330

Complementary

#708090
#8B7B6B

Analogous

#708090
#6A838A
#797D91

Triadic

#708090
#8F777A
#78826E

About this color

Slate gray in CSS and design

Slate gray is a medium, muted color from the blue family. Slate gray is one of the extended color keywords, which CSS adopted from the X11 color names used on Unix workstations.

Use it in CSS by name or by any of its codes; these all give the same color:

color: slategray;
color: #708090;
color: rgb(112 128 144);
color: hsl(210 13% 50%);

For text on slate gray, black reads best. Check other combinations with the contrast checker, or browse all CSS color names.

Frequently asked questions

What is the hex code for slate gray?

#708090. In CSS you can also use the keyword slategray or slategrey, which works in every browser.

What is slate gray in RGB and HSL?

In RGB it is rgb(112 128 144), in HSL hsl(210 13% 50%). For print, cmyk(22%, 11%, 0%, 44%) is a starting point, but CMYK depends on paper and ink, so check with your printer.

Should I use black or white text on slate gray?

Black text works better: it has a contrast ratio of 5.17:1 and passes WCAG AA. White text reaches 4.05:1.

Which colors go with slate gray?

Its complementary color is #8B7B6B, on the opposite side of the color wheel. For a calmer look, combine it with its analogous neighbors #6A838A and #797D91. The palette generator builds more combinations.