#2E31DC Color

Inspect #2E31DC across formats, palettes, contrast and closest named color matches.

Color preview

#2E31DC

Color formats

HEX
#2E31DC
RGB
rgb(46, 49, 220)
RGBA
rgba(46, 49, 220, 1)
HSL
hsl(239, 71%, 52%)
HSV
hsv(239, 79%, 86%)
CMYK
cmyk(79%, 78%, 0%, 14%)
CSS variable
--color-primary: #2E31DC;
Lowercase HEX
#2e31dc

Shades

Tints

Tones

Harmony

CSS snippets for #2E31DC

.color-2e31dc {
  color: #2E31DC;
  background-color: #2E31DC;
}

Frequently asked questions

What color is #2E31DC?+

#2E31DC is a HEX color with RGB value rgb(46, 49, 220) and HSL value hsl(239, 71%, 52%). Its closest CSS named color is RoyalBlue.

What is the closest Tailwind color to #2E31DC?+

The closest Tailwind color is indigo-700, available as the bg-indigo-700 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