Slategray colour (#708090)
Slategray is medium a blue with hex code #708090, one of the 148 named colours every browser understands, so you can write color: ${name} directly in CSS. In RGB it is 112, 128, 144; in HSL 210°, 13%, 50%. Use the tool to explore shades and harmonies.
How to use the Slategray colour
- The colour is pre-filled; click Explore to see all formats, shades and harmonies.
- Edit the value to try a variation.
- Copy the code you need.
Slategray in every format
| Format | Value |
|---|---|
| HEX | #708090 |
| RGB | rgb(112, 128, 144) |
| RGB (0–1) | 0.439, 0.502, 0.565 |
| HSL | hsl(210, 13%, 50%) |
| CMYK (approx.) | 22%, 11%, 0%, 44% |
| CSS | color: slategray; |
Shades and tints of Slategray
Same hue and saturation, lightness from 90% to 10%:
#e2e6e9 | #c5ccd3 | #a9b3bc | #8c99a6 | #6f8090 | #596673 | #434d56 | #2c333a | #161a1d |
Colours that go with Slategray
| Harmony | Colours | |
|---|---|---|
| Complementary | #90806f | |
| Triadic | #906f80 | #80906f |
| Analogous | #6f6f90 | #6f9090 |
Similar named colours
The closest CSS named colours by RGB distance, useful when you need a keyword instead of a hex code or want a near match:
| Colour | HEX | Difference |
|---|---|---|
| lightslategray | #778899 | very close |
| gray | #808080 | very close |
| cadetblue | #5f9ea0 | close |
| dimgray | #696969 | close |
| steelblue | #4682b4 | close |
Accessibility
Contrast ratio of Slategray against white is 4.05:1 (fails WCAG AA for normal text) and against black 5.18:1 (passes). Use black or very dark text on a Slategray background rather than white.
Frequently asked questions
What is the hex code for Slategray?
#708090.
What is Slategray in RGB?
rgb(112, 128, 144).
What colour is complementary to Slategray?
#90806f, directly opposite on the colour wheel.
Privacy
This tool runs entirely inside your browser using WebAssembly and the Canvas/File APIs. Your files are never uploaded to ToolFlint or any third party; you can verify this in your browser's network tab or by switching to airplane mode after the page loads. Read how we process files.
Last updated 2026-09-23.