#40309C Color

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

Color preview

#40309C

Color formats

HEX
#40309C
RGB
rgb(64, 48, 156)
RGBA
rgba(64, 48, 156, 1)
HSL
hsl(249, 53%, 40%)
HSV
hsv(249, 69%, 61%)
CMYK
cmyk(59%, 69%, 0%, 39%)
CSS variable
--color-primary: #40309C;
Lowercase HEX
#40309c

Shades

Tints

Tones

Harmony

CSS snippets for #40309C

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

Frequently asked questions

What color is #40309C?+

#40309C is a HEX color with RGB value rgb(64, 48, 156) and HSL value hsl(249, 53%, 40%). Its closest CSS named color is DarkSlateBlue.

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

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