#40505E Color

Inspect #40505E across formats, palettes, contrast and closest named color matches.

Color preview

#40505E

Color formats

HEX
#40505E
RGB
rgb(64, 80, 94)
RGBA
rgba(64, 80, 94, 1)
HSL
hsl(208, 19%, 31%)
HSV
hsv(208, 32%, 37%)
CMYK
cmyk(32%, 15%, 0%, 63%)
CSS variable
--color-primary: #40505E;
Lowercase HEX
#40505e

Shades

Tints

Tones

Harmony

CSS snippets for #40505E

.color-40505e {
  color: #40505E;
  background-color: #40505E;
}

Frequently asked questions

What color is #40505E?+

#40505E is a HEX color with RGB value rgb(64, 80, 94) and HSL value hsl(208, 19%, 31%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #40505E?+

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