#4028DC Color

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

Color preview

#4028DC

Color formats

HEX
#4028DC
RGB
rgb(64, 40, 220)
RGBA
rgba(64, 40, 220, 1)
HSL
hsl(248, 72%, 51%)
HSV
hsv(248, 82%, 86%)
CMYK
cmyk(71%, 82%, 0%, 14%)
CSS variable
--color-primary: #4028DC;
Lowercase HEX
#4028dc

Shades

Tints

Tones

Harmony

CSS snippets for #4028DC

.color-4028dc {
  color: #4028DC;
  background-color: #4028DC;
}

Frequently asked questions

What color is #4028DC?+

#4028DC is a HEX color with RGB value rgb(64, 40, 220) and HSL value hsl(248, 72%, 51%). Its closest CSS named color is RoyalBlue.

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

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