#2E5798 Color

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

Color preview

#2E5798

Color formats

HEX
#2E5798
RGB
rgb(46, 87, 152)
RGBA
rgba(46, 87, 152, 1)
HSL
hsl(217, 54%, 39%)
HSV
hsv(217, 70%, 60%)
CMYK
cmyk(70%, 43%, 0%, 40%)
CSS variable
--color-primary: #2E5798;
Lowercase HEX
#2e5798

Shades

Tints

Tones

Harmony

CSS snippets for #2E5798

.color-2e5798 {
  color: #2E5798;
  background-color: #2E5798;
}

Frequently asked questions

What color is #2E5798?+

#2E5798 is a HEX color with RGB value rgb(46, 87, 152) and HSL value hsl(217, 54%, 39%). Its closest CSS named color is DarkSlateBlue.

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

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