#4027AF Color

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

Color preview

#4027AF

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #4027AF

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

Frequently asked questions

What color is #4027AF?+

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

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

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