#40506E Color

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

Color preview

#40506E

Color formats

HEX
#40506E
RGB
rgb(64, 80, 110)
RGBA
rgba(64, 80, 110, 1)
HSL
hsl(219, 26%, 34%)
HSV
hsv(219, 42%, 43%)
CMYK
cmyk(42%, 27%, 0%, 57%)
CSS variable
--color-primary: #40506E;
Lowercase HEX
#40506e

Shades

Tints

Tones

Harmony

CSS snippets for #40506E

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

Frequently asked questions

What color is #40506E?+

#40506E is a HEX color with RGB value rgb(64, 80, 110) and HSL value hsl(219, 26%, 34%). Its closest CSS named color is DarkSlateGray.

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

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