#40399D Color

Inspect #40399D across formats, palettes, contrast and closest named color matches.

Color preview

#40399D

Color formats

HEX
#40399D
RGB
rgb(64, 57, 157)
RGBA
rgba(64, 57, 157, 1)
HSL
hsl(244, 47%, 42%)
HSV
hsv(244, 64%, 62%)
CMYK
cmyk(59%, 64%, 0%, 38%)
CSS variable
--color-primary: #40399D;
Lowercase HEX
#40399d

Shades

Tints

Tones

Harmony

CSS snippets for #40399D

.color-40399d {
  color: #40399D;
  background-color: #40399D;
}

Frequently asked questions

What color is #40399D?+

#40399D is a HEX color with RGB value rgb(64, 57, 157) and HSL value hsl(244, 47%, 42%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #40399D?+

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