#3A28E1 Color

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

Color preview

#3A28E1

Color formats

HEX
#3A28E1
RGB
rgb(58, 40, 225)
RGBA
rgba(58, 40, 225, 1)
HSL
hsl(246, 76%, 52%)
HSV
hsv(246, 82%, 88%)
CMYK
cmyk(74%, 82%, 0%, 12%)
CSS variable
--color-primary: #3A28E1;
Lowercase HEX
#3a28e1

Shades

Tints

Tones

Harmony

CSS snippets for #3A28E1

.color-3a28e1 {
  color: #3A28E1;
  background-color: #3A28E1;
}

Frequently asked questions

What color is #3A28E1?+

#3A28E1 is a HEX color with RGB value rgb(58, 40, 225) and HSL value hsl(246, 76%, 52%). Its closest CSS named color is RoyalBlue.

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

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