#2D579F Color

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

Color preview

#2D579F

Color formats

HEX
#2D579F
RGB
rgb(45, 87, 159)
RGBA
rgba(45, 87, 159, 1)
HSL
hsl(218, 56%, 40%)
HSV
hsv(218, 72%, 62%)
CMYK
cmyk(72%, 45%, 0%, 38%)
CSS variable
--color-primary: #2D579F;
Lowercase HEX
#2d579f

Shades

Tints

Tones

Harmony

CSS snippets for #2D579F

.color-2d579f {
  color: #2D579F;
  background-color: #2D579F;
}

Frequently asked questions

What color is #2D579F?+

#2D579F is a HEX color with RGB value rgb(45, 87, 159) and HSL value hsl(218, 56%, 40%). Its closest CSS named color is DarkSlateBlue.

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

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