#402CFA Color

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

Color preview

#402CFA

Color formats

HEX
#402CFA
RGB
rgb(64, 44, 250)
RGBA
rgba(64, 44, 250, 1)
HSL
hsl(246, 95%, 58%)
HSV
hsv(246, 82%, 98%)
CMYK
cmyk(74%, 82%, 0%, 2%)
CSS variable
--color-primary: #402CFA;
Lowercase HEX
#402cfa

Shades

Tints

Tones

Harmony

CSS snippets for #402CFA

.color-402cfa {
  color: #402CFA;
  background-color: #402CFA;
}

Frequently asked questions

What color is #402CFA?+

#402CFA is a HEX color with RGB value rgb(64, 44, 250) and HSL value hsl(246, 95%, 58%). Its closest CSS named color is RoyalBlue.

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

The closest Tailwind color is indigo-600, available as the bg-indigo-600 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