#2E117E Color

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

Color preview

#2E117E

Color formats

HEX
#2E117E
RGB
rgb(46, 17, 126)
RGBA
rgba(46, 17, 126, 1)
HSL
hsl(256, 76%, 28%)
HSV
hsv(256, 87%, 49%)
CMYK
cmyk(63%, 87%, 0%, 51%)
CSS variable
--color-primary: #2E117E;
Lowercase HEX
#2e117e

Shades

Tints

Tones

Harmony

CSS snippets for #2E117E

.color-2e117e {
  color: #2E117E;
  background-color: #2E117E;
}

Frequently asked questions

What color is #2E117E?+

#2E117E is a HEX color with RGB value rgb(46, 17, 126) and HSL value hsl(256, 76%, 28%). Its closest CSS named color is MidnightBlue.

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

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