#40337C Color

Inspect #40337C across formats, palettes, contrast and closest named color matches.

Color preview

#40337C

Color formats

HEX
#40337C
RGB
rgb(64, 51, 124)
RGBA
rgba(64, 51, 124, 1)
HSL
hsl(251, 42%, 34%)
HSV
hsv(251, 59%, 49%)
CMYK
cmyk(48%, 59%, 0%, 51%)
CSS variable
--color-primary: #40337C;
Lowercase HEX
#40337c

Shades

Tints

Tones

Harmony

CSS snippets for #40337C

.color-40337c {
  color: #40337C;
  background-color: #40337C;
}

Frequently asked questions

What color is #40337C?+

#40337C is a HEX color with RGB value rgb(64, 51, 124) and HSL value hsl(251, 42%, 34%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #40337C?+

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