#3B228C Color

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

Color preview

#3B228C

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #3B228C

.color-3b228c {
  color: #3B228C;
  background-color: #3B228C;
}

Frequently asked questions

What color is #3B228C?+

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

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

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