#40348D Color

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

Color preview

#40348D

Color formats

HEX
#40348D
RGB
rgb(64, 52, 141)
RGBA
rgba(64, 52, 141, 1)
HSL
hsl(248, 46%, 38%)
HSV
hsv(248, 63%, 55%)
CMYK
cmyk(55%, 63%, 0%, 45%)
CSS variable
--color-primary: #40348D;
Lowercase HEX
#40348d

Shades

Tints

Tones

Harmony

CSS snippets for #40348D

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

Frequently asked questions

What color is #40348D?+

#40348D is a HEX color with RGB value rgb(64, 52, 141) and HSL value hsl(248, 46%, 38%). Its closest CSS named color is DarkSlateBlue.

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

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