#7981B2 Color

Inspect #7981B2 across formats, palettes, contrast and closest named color matches.

Color preview

#7981B2

Color formats

HEX
#7981B2
RGB
rgb(121, 129, 178)
RGBA
rgba(121, 129, 178, 1)
HSL
hsl(232, 27%, 59%)
HSV
hsv(232, 32%, 70%)
CMYK
cmyk(32%, 28%, 0%, 30%)
CSS variable
--color-primary: #7981B2;
Lowercase HEX
#7981b2

Shades

Tints

Tones

Harmony

CSS snippets for #7981B2

.color-7981b2 {
  color: #7981B2;
  background-color: #7981B2;
}

Frequently asked questions

What color is #7981B2?+

#7981B2 is a HEX color with RGB value rgb(121, 129, 178) and HSL value hsl(232, 27%, 59%). Its closest CSS named color is LightSlateGray.

What is the closest Tailwind color to #7981B2?+

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