#40308D Color

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

Color preview

#40308D

Color formats

HEX
#40308D
RGB
rgb(64, 48, 141)
RGBA
rgba(64, 48, 141, 1)
HSL
hsl(250, 49%, 37%)
HSV
hsv(250, 66%, 55%)
CMYK
cmyk(55%, 66%, 0%, 45%)
CSS variable
--color-primary: #40308D;
Lowercase HEX
#40308d

Shades

Tints

Tones

Harmony

CSS snippets for #40308D

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

Frequently asked questions

What color is #40308D?+

#40308D is a HEX color with RGB value rgb(64, 48, 141) and HSL value hsl(250, 49%, 37%). Its closest CSS named color is DarkSlateBlue.

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

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