#2B183A Color

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

Color preview

#2B183A

Color formats

HEX
#2B183A
RGB
rgb(43, 24, 58)
RGBA
rgba(43, 24, 58, 1)
HSL
hsl(274, 41%, 16%)
HSV
hsv(274, 59%, 23%)
CMYK
cmyk(26%, 59%, 0%, 77%)
CSS variable
--color-primary: #2B183A;
Lowercase HEX
#2b183a

Shades

Tints

Tones

Harmony

CSS snippets for #2B183A

.color-2b183a {
  color: #2B183A;
  background-color: #2B183A;
}

Frequently asked questions

What color is #2B183A?+

#2B183A is a HEX color with RGB value rgb(43, 24, 58) and HSL value hsl(274, 41%, 16%). Its closest CSS named color is MidnightBlue.

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

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