#40507C Color

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

Color preview

#40507C

Color formats

HEX
#40507C
RGB
rgb(64, 80, 124)
RGBA
rgba(64, 80, 124, 1)
HSL
hsl(224, 32%, 37%)
HSV
hsv(224, 48%, 49%)
CMYK
cmyk(48%, 35%, 0%, 51%)
CSS variable
--color-primary: #40507C;
Lowercase HEX
#40507c

Shades

Tints

Tones

Harmony

CSS snippets for #40507C

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

Frequently asked questions

What color is #40507C?+

#40507C is a HEX color with RGB value rgb(64, 80, 124) and HSL value hsl(224, 32%, 37%). Its closest CSS named color is DarkSlateBlue.

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

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