#2A1D9F Color

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

Color preview

#2A1D9F

Color formats

HEX
#2A1D9F
RGB
rgb(42, 29, 159)
RGBA
rgba(42, 29, 159, 1)
HSL
hsl(246, 69%, 37%)
HSV
hsv(246, 82%, 62%)
CMYK
cmyk(74%, 82%, 0%, 38%)
CSS variable
--color-primary: #2A1D9F;
Lowercase HEX
#2a1d9f

Shades

Tints

Tones

Harmony

CSS snippets for #2A1D9F

.color-2a1d9f {
  color: #2A1D9F;
  background-color: #2A1D9F;
}

Frequently asked questions

What color is #2A1D9F?+

#2A1D9F is a HEX color with RGB value rgb(42, 29, 159) and HSL value hsl(246, 69%, 37%). Its closest CSS named color is DarkSlateBlue.

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

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