#402DCE Color

Inspect #402DCE across formats, palettes, contrast and closest named color matches.

Color preview

#402DCE

Color formats

HEX
#402DCE
RGB
rgb(64, 45, 206)
RGBA
rgba(64, 45, 206, 1)
HSL
hsl(247, 64%, 49%)
HSV
hsv(247, 78%, 81%)
CMYK
cmyk(69%, 78%, 0%, 19%)
CSS variable
--color-primary: #402DCE;
Lowercase HEX
#402dce

Shades

Tints

Tones

Harmony

CSS snippets for #402DCE

.color-402dce {
  color: #402DCE;
  background-color: #402DCE;
}

Frequently asked questions

What color is #402DCE?+

#402DCE is a HEX color with RGB value rgb(64, 45, 206) and HSL value hsl(247, 64%, 49%). Its closest CSS named color is SlateBlue.

What is the closest Tailwind color to #402DCE?+

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