#2A579C Color

Inspect #2A579C across formats, palettes, contrast and closest named color matches.

Color preview

#2A579C

Color formats

HEX
#2A579C
RGB
rgb(42, 87, 156)
RGBA
rgba(42, 87, 156, 1)
HSL
hsl(216, 58%, 39%)
HSV
hsv(216, 73%, 61%)
CMYK
cmyk(73%, 44%, 0%, 39%)
CSS variable
--color-primary: #2A579C;
Lowercase HEX
#2a579c

Shades

Tints

Tones

Harmony

CSS snippets for #2A579C

.color-2a579c {
  color: #2A579C;
  background-color: #2A579C;
}

Frequently asked questions

What color is #2A579C?+

#2A579C is a HEX color with RGB value rgb(42, 87, 156) and HSL value hsl(216, 58%, 39%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #2A579C?+

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