slategray slategray #708090
slategray is #708090 in hexadecimal, rgb(112, 128, 144) in decimal and hsl(210, 13, 50) in HSL. This page lists its harmonies, lightness steps and contrast against black and white — all copyable.
HEX · RGB · HSL
| HEX | #708090 |
| RGB | rgb(112, 128, 144) |
| HSL | hsl(210, 13%, 50%) |
Harmonies
Complementary
#9f8060Analogous
#609f9f#60609fTriadic
#9f6080#809f60Split complementary
#9f6060#9f9f60Tints & shades
#5f6e7c#667585#6f8090#7a8a99#8391a0Accessibility
| vs #ffffff | 4.05:1 |
| vs #000000 | 5.18:1 |
| Suggested text color | #000000 · 5.18:1 · WCAG AA |
Similar named colors
FAQ
What is the HEX code for slategray?
slategray is #708090 in hex, rgb(112, 128, 144) in decimal and hsl(210, 13%, 50%) in HSL. In CSS you can write either color: slategray; or color: #708090; — they are equivalent.
What colors go with slategray?
The complementary #9f8060 gives the strongest contrast, the analogous pair #609f9f / #60609f is the safest, and the triad #9f6080 / #809f60 adds more tension. All three are derived from the 210° hue of #708090.
Does #708090 read better on white or black?
Its contrast is 4.05:1 against white and 5.18:1 against black. Use #000000 text on it — that gives 5.18:1, which meets WCAG AA.
Is a named color different from a hex color?
No. CSS named colors are just syntactic sugar for standard six-digit hex values; browsers resolve them to identical results in every modern engine.