#3A228C Color

Inspect #3A228C across formats, palettes, contrast and closest named color matches.

Color preview

#3A228C

Color formats

HEX
#3A228C
RGB
rgb(58, 34, 140)
RGBA
rgba(58, 34, 140, 1)
HSL
hsl(254, 61%, 34%)
HSV
hsv(254, 76%, 55%)
CMYK
cmyk(59%, 76%, 0%, 45%)
CSS variable
--color-primary: #3A228C;
Lowercase HEX
#3a228c

Shades

Tints

Tones

Harmony

CSS snippets for #3A228C

.color-3a228c {
  color: #3A228C;
  background-color: #3A228C;
}

Frequently asked questions

What color is #3A228C?+

#3A228C is a HEX color with RGB value rgb(58, 34, 140) and HSL value hsl(254, 61%, 34%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #3A228C?+

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