Slate Gray Hex Code #708090
Slate Gray is a medium, muted gray with the hex code #708090. In RGB it is 112, 128, 144, and in HSL it is 210°, 13%, 50%. It is one of the 148 named colors in CSS, so you can write “slategray” instead of the hex code. It is also written as “slategrey”.
- HEX
- #708090
- RGB
- rgb(112, 128, 144)
- HSL
- hsl(210, 13%, 50%)
- HSV
- hsv(210°, 22%, 56%)
- CMYK
- cmyk(22%, 11%, 0%, 44%)
- CSS name
- slategray
CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.
About Slate Gray
On a white background Slate Gray has a contrast ratio of 4.05:1 (AA Large), and on black 5.18:1 (AA). Black text is the better choice on top of it.
It sits on the cool side of the color wheel, a range that tends to feel calm and appears to recede.
Grays do much of the quiet work in interface design: text, borders, backgrounds and disabled states. Because they carry no strong hue, they pair with almost any accent color.
Shades and tints of Slate Gray
Tints mix Slate Gray with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.
Color harmonies for Slate Gray
These schemes are calculated from Slate Gray on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.
On the artist’s RYB wheel, the complement of Slate Gray is #907E70, close to the named color Gray.
Slate Gray contrast and accessibility
WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Slate Gray scores against white and black.
| Against | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White (#ffffff) | 4.05:1 | ✕ Fail | ✓ Pass | ✕ Fail | ✕ Fail |
| Black (#000000) | 5.18:1 | ✓ Pass | ✓ Pass | ✕ Fail | ✓ Pass |
Slate Gray and color blindness
These are approximate previews of how Slate Gray can look with the main types of color vision deficiency.
Slate Gray looks almost the same.
Slate Gray looks almost the same.
Slate Gray shifts slightly.
Slate Gray shifts slightly.
Gradients with Slate Gray
Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.
Slate Gray to a lighter tint
background: linear-gradient(135deg, #708090 0%, #c6ccd3 100%); Slate Gray to its analogous neighbour
background: linear-gradient(135deg, #708090 0%, #707090 100%); Slate Gray to its complement
background: linear-gradient(135deg, #708090 0%, #908070 100%); Colors similar to Slate Gray
How each close match differs from Slate Gray.
Use Slate Gray in code
.element {
color: #708090;
background-color: #708090;
border-color: slategray; /* slategray is a valid CSS color name */
} :root {
--color-slate-gray: #708090;
} <!-- Tailwind arbitrary values -->
<div class="bg-[#708090] text-[#708090] border-[#708090]"></div>
/* Tailwind v4 theme color */
@theme {
--color-slate-gray: #708090;
} Slate Gray questions
What is the hex code for Slate Gray?
The hex code for Slate Gray is #708090. In RGB that is rgb(112, 128, 144), and in HSL it is hsl(210, 13%, 50%).
What is the complementary color of Slate Gray?
On the RGB (screen) color wheel, the complement of Slate Gray is #908070, which is close to Gray. On the artist’s RYB wheel it is #907E70, close to Gray.
Should I use white or black text on Slate Gray?
Black text. It has a contrast ratio of 5.18:1 against Slate Gray, which is WCAG AA. The other option scores 4.05:1.
Is Slate Gray accessible as a text color on white?
Only for large text. Slate Gray on white scores 4.05:1, which passes WCAG AA for large text (3:1) but not for normal text (4.5:1).
What are darker and lighter shades of Slate Gray?
Mixing Slate Gray with black gives #5A6673, #434D56, #2D333A, #161A1D (20% to 80% black). Mixing it with white gives #8D99A6, #A9B3BC, #C6CCD3, #E2E6E9 (20% to 80% white).