slategray (#708090)

slategray is a CSS named color with the hex code #708090, rgb(112, 128, 144). It is a medium, grayish blue.

slategray#708090
Keywordslategray
HEX#708090
RGBrgb(112, 128, 144)
HSLhsl(210, 13%, 50%)

Full #708090 details: palettes, shades, color-blind view →

Description

Slategray has a hue of 210°, saturation 13% and lightness 50%, which places it in the blue family. Its strongest channel is blue (144). It is identical to slategrey; both keywords produce #708090.

Using slategray in CSS

.title { color: slategray; }
.box   { background: slategray; border-color: #708090; }
.soft  { background: rgb(112 128 144 / 20%); }   /* slategray at 20% opacity */

Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.

Similar named colors

ColorHEXRGBΔE 2000
lightslategray#778899119, 136, 1533
gray#808080128, 128, 1288.9
steelblue#4682b470, 130, 18010.6
dimgray#696969105, 105, 10512.2
mediumpurple#9370db147, 112, 21912.3
mediumslateblue#7b68ee123, 104, 23812.5
royalblue#4169e165, 105, 22513.6
slateblue#6a5acd106, 90, 20513.9

ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.

Pairs well with

Readability

Contrast with white text: 4.05:1; with black text: 5.18:1. Black body text on slategray meets WCAG AA; white text does not.

Frequently asked questions

What is the hex code for slategray?
#708090.
What colors are similar to slategray?
lightslategray (#778899), gray (#808080), steelblue (#4682b4).