#4227AF Color

Inspect #4227AF across formats, palettes, contrast and closest named color matches.

Color preview

#4227AF

Color formats

HEX
#4227AF
RGB
rgb(66, 39, 175)
RGBA
rgba(66, 39, 175, 1)
HSL
hsl(252, 64%, 42%)
HSV
hsv(252, 78%, 69%)
CMYK
cmyk(62%, 78%, 0%, 31%)
CSS variable
--color-primary: #4227AF;
Lowercase HEX
#4227af

Shades

Tints

Tones

Harmony

CSS snippets for #4227AF

.color-4227af {
  color: #4227AF;
  background-color: #4227AF;
}

Frequently asked questions

What color is #4227AF?+

#4227AF is a HEX color with RGB value rgb(66, 39, 175) and HSL value hsl(252, 64%, 42%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #4227AF?+

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