#42399D Color

Inspect #42399D across formats, palettes, contrast and closest named color matches.

Color preview

#42399D

Color formats

HEX
#42399D
RGB
rgb(66, 57, 157)
RGBA
rgba(66, 57, 157, 1)
HSL
hsl(245, 47%, 42%)
HSV
hsv(245, 64%, 62%)
CMYK
cmyk(58%, 64%, 0%, 38%)
CSS variable
--color-primary: #42399D;
Lowercase HEX
#42399d

Shades

Tints

Tones

Harmony

CSS snippets for #42399D

.color-42399d {
  color: #42399D;
  background-color: #42399D;
}

Frequently asked questions

What color is #42399D?+

#42399D is a HEX color with RGB value rgb(66, 57, 157) and HSL value hsl(245, 47%, 42%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #42399D?+

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