#798BCB Color

Inspect #798BCB across formats, palettes, contrast and closest named color matches.

Color preview

#798BCB

Color formats

HEX
#798BCB
RGB
rgb(121, 139, 203)
RGBA
rgba(121, 139, 203, 1)
HSL
hsl(227, 44%, 64%)
HSV
hsv(227, 40%, 80%)
CMYK
cmyk(40%, 32%, 0%, 20%)
CSS variable
--color-primary: #798BCB;
Lowercase HEX
#798bcb

Shades

Tints

Tones

Harmony

CSS snippets for #798BCB

.color-798bcb {
  color: #798BCB;
  background-color: #798BCB;
}

Frequently asked questions

What color is #798BCB?+

#798BCB is a HEX color with RGB value rgb(121, 139, 203) and HSL value hsl(227, 44%, 64%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #798BCB?+

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