#2E173A Color

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

Color preview

#2E173A

Color formats

HEX
#2E173A
RGB
rgb(46, 23, 58)
RGBA
rgba(46, 23, 58, 1)
HSL
hsl(279, 43%, 16%)
HSV
hsv(279, 60%, 23%)
CMYK
cmyk(21%, 60%, 0%, 77%)
CSS variable
--color-primary: #2E173A;
Lowercase HEX
#2e173a

Shades

Tints

Tones

Harmony

CSS snippets for #2E173A

.color-2e173a {
  color: #2E173A;
  background-color: #2E173A;
}

Frequently asked questions

What color is #2E173A?+

#2E173A is a HEX color with RGB value rgb(46, 23, 58) and HSL value hsl(279, 43%, 16%). Its closest CSS named color is MidnightBlue.

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

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