#40305D Color

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

Color preview

#40305D

Color formats

HEX
#40305D
RGB
rgb(64, 48, 93)
RGBA
rgba(64, 48, 93, 1)
HSL
hsl(261, 32%, 28%)
HSV
hsv(261, 48%, 36%)
CMYK
cmyk(31%, 48%, 0%, 64%)
CSS variable
--color-primary: #40305D;
Lowercase HEX
#40305d

Shades

Tints

Tones

Harmony

CSS snippets for #40305D

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

Frequently asked questions

What color is #40305D?+

#40305D is a HEX color with RGB value rgb(64, 48, 93) and HSL value hsl(261, 32%, 28%). Its closest CSS named color is DarkSlateGray.

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

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