#42408C Color

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

Color preview

#42408C

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #42408C

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

Frequently asked questions

What color is #42408C?+

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

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

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