#4028AF Color

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

Color preview

#4028AF

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #4028AF

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

Frequently asked questions

What color is #4028AF?+

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

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

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