#40379D Color

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

Color preview

#40379D

Color formats

HEX
#40379D
RGB
rgb(64, 55, 157)
RGBA
rgba(64, 55, 157, 1)
HSL
hsl(245, 48%, 42%)
HSV
hsv(245, 65%, 62%)
CMYK
cmyk(59%, 65%, 0%, 38%)
CSS variable
--color-primary: #40379D;
Lowercase HEX
#40379d

Shades

Tints

Tones

Harmony

CSS snippets for #40379D

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

Frequently asked questions

What color is #40379D?+

#40379D is a HEX color with RGB value rgb(64, 55, 157) and HSL value hsl(245, 48%, 42%). Its closest CSS named color is DarkSlateBlue.

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

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