Skip to content
Color Codes

CSS named color

SlateGray Color Code

SlateGray is a medium, muted blue with the hex code #708090. In RGB it is rgb(112, 128, 144), in HSL hsl(210, 13%, 50%) and in CMYK cmyk(22%, 11%, 0%, 44%).

SlateGray
#708090

Color values

In CSS you can write it as the keyword slategray.

White text on SlateGray has a contrast ratio of 4.05:1 and black text 5.18:1, so black text is the more readable choice.

The closest Tailwind CSS color is Gray 500 (#6B7280).

Use SlateGray in CSS

.element {
  color: slategray;
  background-color: #708090;
  border-color: rgb(112, 128, 144);
}

Tints and shades of SlateGray

Ten steps from light to dark at the same hue. Click any swatch to copy it.

Colors that go with SlateGray

Color-wheel harmonies built from #708090. Click a swatch to copy it or open the set in the color wheel.

Complementary

Open in color wheel

Opposite hues for maximum contrast and energetic accents.

Neighboring hues for calm, cohesive surfaces.

Three evenly spaced hues for balanced, colorful systems.

Split complementary

Open in color wheel

A base plus the two neighbors of its complement — contrast with less tension.

Text contrast on SlateGray

Aa
White text
4.05:1
AA · Large text
Aa
Black text
5.18:1
AA
Check in the contrast checker

Colors similar to SlateGray

Palettes with similar colors

Questions about SlateGray

What is the hex code for SlateGray?

The hex code for SlateGray is #708090. Its RGB value is rgb(112, 128, 144) and its HSL value is hsl(210, 13%, 50%).

What colors go with SlateGray?

The complementary color of SlateGray is #90806F. For a softer scheme try the analogous colors #6F9090 and #6F6F90; for a balanced three-color scheme use the triadic colors #906F80 and #80906F.

Is SlateGray readable as a text color?

On a white background SlateGray has a contrast ratio of 4.05:1, which does not pass WCAG AA for normal text (4.5:1). On black it reaches 5.18:1.

More gray colors