#40528C Color

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

Color preview

#40528C

Color formats

HEX
#40528C
RGB
rgb(64, 82, 140)
RGBA
rgba(64, 82, 140, 1)
HSL
hsl(226, 37%, 40%)
HSV
hsv(226, 54%, 55%)
CMYK
cmyk(54%, 41%, 0%, 45%)
CSS variable
--color-primary: #40528C;
Lowercase HEX
#40528c

Shades

Tints

Tones

Harmony

CSS snippets for #40528C

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

Frequently asked questions

What color is #40528C?+

#40528C is a HEX color with RGB value rgb(64, 82, 140) and HSL value hsl(226, 37%, 40%). Its closest CSS named color is DarkSlateBlue.

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

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