Skip to content

Slate gray (Grey)

Slate gray is a medium gray with a hint of blue. Hex code #708090.

Slate gray#708090

Slate gray color codes

  • CSS nameslategray, slategrey
  • HEX#708090
  • RGBrgb(112, 128, 144)
  • HSLhsl(210, 13%, 50%)
  • OKLCHoklch(59.3% 0.031 248.3)
HSB and CMYK values
  • HSB / HSVhsb(210, 22%, 56%)
  • CMYKC22 M11 Y0 K44

White text

4.05:1 · passes WCAG AA for large text only

Black text

5.17:1 · passes WCAG AA

Shades of slate gray

A darker shade of slate gray is #425160 (600), and a lighter one is #8E9FAF (300).

Colors that go with slate gray

Complementary

Analogous

Triadic

The complementary color of slate gray is #908070, close to gray.

Click a color to copy its hex code.

Colors similar to slate gray

Each compared with slate gray.

About this color

Slate gray in CSS and design

Slate gray is one of the extended color keywords, which mostly go back to the X11 color names of Unix systems. These four lines all give the same slate gray:

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

What to know about slate gray

Slate gray is named after slate, the gray rock of roofing tiles, and Merriam-Webster defines it as a bluish gray. Its hex code climbs in even steps from red to blue, 70, 80, 90, which is where its hint of blue comes from; light slate gray (#778899) climbs the same way, 77, 88, 99. As text on white, slate gray reaches 4.05:1, short of the 4.5:1 of WCAG AA.

Slate gray and the other grays

Slate gray sits between dim gray (#696969) and gray (#808080) in lightness. As text on slate gray, black reaches the 4.5:1 contrast that WCAG AA asks for.

GrayHexLightnessContrast with slate gray
Black#0000000%5.17:1
Dark slate gray#2F4F4F40%2.20:1
Dim gray#69696952%1.35:1
Slate gray#70809059%–
Gray#80808060%1.02:1
Light slate gray#77889962%1.11:1
Dark gray#A9A9A973%1.72:1
Silver#C0C0C081%2.22:1
Light gray#D3D3D387%2.70:1
Gainsboro#DCDCDC89%2.95:1
White smoke#F5F5F597%3.71:1
White#FFFFFF100%4.05:1

Lightness is OKLCH lightness, which follows how light a color looks.

Frequently asked questions

What is the hex code for slate gray (grey)?

#708090. Slate gray and slate grey are two spellings for the same color, and CSS accepts both keywords, slategray and slategrey, in every browser.

What is slate gray in RGB and HSL?

In RGB it is rgb(112, 128, 144) and in HSL hsl(210, 13%, 50%). In CMYK it is about C22 M11 Y0 K44, though printed colors vary with paper and ink.

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.

What is the complementary color of slate gray?

#908070, close to gray. It sits opposite slate gray on the color wheel: the hue turned 180 degrees, with the same saturation and lightness.

Which colors go with slate gray?

For strong contrast, pair it with its complementary color #908070. For a calmer look, combine it with its analogous neighbors #709090 and #707090. The palette generator builds more combinations.