#2A193A Color

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

Color preview

#2A193A

Color formats

HEX
#2A193A
RGB
rgb(42, 25, 58)
RGBA
rgba(42, 25, 58, 1)
HSL
hsl(271, 40%, 16%)
HSV
hsv(271, 57%, 23%)
CMYK
cmyk(28%, 57%, 0%, 77%)
CSS variable
--color-primary: #2A193A;
Lowercase HEX
#2a193a

Shades

Tints

Tones

Harmony

CSS snippets for #2A193A

.color-2a193a {
  color: #2A193A;
  background-color: #2A193A;
}

Frequently asked questions

What color is #2A193A?+

#2A193A is a HEX color with RGB value rgb(42, 25, 58) and HSL value hsl(271, 40%, 16%). Its closest CSS named color is MidnightBlue.

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

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