#2E147B Color

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

Color preview

#2E147B

Color formats

HEX
#2E147B
RGB
rgb(46, 20, 123)
RGBA
rgba(46, 20, 123, 1)
HSL
hsl(255, 72%, 28%)
HSV
hsv(255, 84%, 48%)
CMYK
cmyk(63%, 84%, 0%, 52%)
CSS variable
--color-primary: #2E147B;
Lowercase HEX
#2e147b

Shades

Tints

Tones

Harmony

CSS snippets for #2E147B

.color-2e147b {
  color: #2E147B;
  background-color: #2E147B;
}

Frequently asked questions

What color is #2E147B?+

#2E147B is a HEX color with RGB value rgb(46, 20, 123) and HSL value hsl(255, 72%, 28%). Its closest CSS named color is MidnightBlue.

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

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