#7987B5 Color

Inspect #7987B5 across formats, palettes, contrast and closest named color matches.

Color preview

#7987B5

Color formats

HEX
#7987B5
RGB
rgb(121, 135, 181)
RGBA
rgba(121, 135, 181, 1)
HSL
hsl(226, 29%, 59%)
HSV
hsv(226, 33%, 71%)
CMYK
cmyk(33%, 25%, 0%, 29%)
CSS variable
--color-primary: #7987B5;
Lowercase HEX
#7987b5

Shades

Tints

Tones

Harmony

CSS snippets for #7987B5

.color-7987b5 {
  color: #7987B5;
  background-color: #7987B5;
}

Frequently asked questions

What color is #7987B5?+

#7987B5 is a HEX color with RGB value rgb(121, 135, 181) and HSL value hsl(226, 29%, 59%). Its closest CSS named color is LightSlateGray.

What is the closest Tailwind color to #7987B5?+

The closest Tailwind color is slate-400, available as the bg-slate-400 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools