Named after slate, the rock used for roofing and old school chalkboards. It's a medium gray with a blue base. In CSS it's called slategray.
Also known as: slate, slategray.
Slate gray (#708090) is a cool, mid-tone, muted color. It belongs to the grays family. It mixes 112 red, 128 green and 144 blue (out of 255). It is mostly used in home decor, architecture, web.
From lightest to darkest. Tap a shade to copy its code.
Combinations based on the color wheel. More in the color harmony tool.
Copy the codes or open a palette in the editor to tweak it.
Based on WCAG 2.1 guidelines. Test other pairs in the contrast checker.
:root {
--slate-gray: #708090;
--slate-gray-rgb: 112, 128, 144;
}
.bg { background-color: var(--slate-gray); }
.text { color: var(--slate-gray); }The hex code for slate gray is #708090. In RGB it is rgb(112, 128, 144), in HSL hsl(210, 13%, 50%) and in CMYK 22, 11, 0, 44.
Its complement on the color wheel is #908070, close to stone gray. Used in small doses, it works as an accent and adds strong contrast.
Use black text instead: the contrast with white is only 4.1:1, while with black it is 5.2:1.