#40428C Color

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

Color preview

#40428C

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #40428C

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

Frequently asked questions

What color is #40428C?+

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

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

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