#42579F Color

Inspect #42579F across formats, palettes, contrast and closest named color matches.

Color preview

#42579F

Color formats

HEX
#42579F
RGB
rgb(66, 87, 159)
RGBA
rgba(66, 87, 159, 1)
HSL
hsl(226, 41%, 44%)
HSV
hsv(226, 58%, 62%)
CMYK
cmyk(58%, 45%, 0%, 38%)
CSS variable
--color-primary: #42579F;
Lowercase HEX
#42579f

Shades

Tints

Tones

Harmony

CSS snippets for #42579F

.color-42579f {
  color: #42579F;
  background-color: #42579F;
}

Frequently asked questions

What color is #42579F?+

#42579F is a HEX color with RGB value rgb(66, 87, 159) and HSL value hsl(226, 41%, 44%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #42579F?+

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