#2F5798 Color

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

Color preview

#2F5798

Color formats

HEX
#2F5798
RGB
rgb(47, 87, 152)
RGBA
rgba(47, 87, 152, 1)
HSL
hsl(217, 53%, 39%)
HSV
hsv(217, 69%, 60%)
CMYK
cmyk(69%, 43%, 0%, 40%)
CSS variable
--color-primary: #2F5798;
Lowercase HEX
#2f5798

Shades

Tints

Tones

Harmony

CSS snippets for #2F5798

.color-2f5798 {
  color: #2F5798;
  background-color: #2F5798;
}

Frequently asked questions

What color is #2F5798?+

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

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

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