#400CFB Color

Inspect #400CFB across formats, palettes, contrast and closest named color matches.

Color preview

#400CFB

Color formats

HEX
#400CFB
RGB
rgb(64, 12, 251)
RGBA
rgba(64, 12, 251, 1)
HSL
hsl(253, 97%, 52%)
HSV
hsv(253, 95%, 98%)
CMYK
cmyk(75%, 95%, 0%, 2%)
CSS variable
--color-primary: #400CFB;
Lowercase HEX
#400cfb

Shades

Tints

Tones

Harmony

CSS snippets for #400CFB

.color-400cfb {
  color: #400CFB;
  background-color: #400CFB;
}

Frequently asked questions

What color is #400CFB?+

#400CFB is a HEX color with RGB value rgb(64, 12, 251) and HSL value hsl(253, 97%, 52%). Its closest CSS named color is Blue.

What is the closest Tailwind color to #400CFB?+

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