#2D5198 Color

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

Color preview

#2D5198

Color formats

HEX
#2D5198
RGB
rgb(45, 81, 152)
RGBA
rgba(45, 81, 152, 1)
HSL
hsl(220, 54%, 39%)
HSV
hsv(220, 70%, 60%)
CMYK
cmyk(70%, 47%, 0%, 40%)
CSS variable
--color-primary: #2D5198;
Lowercase HEX
#2d5198

Shades

Tints

Tones

Harmony

CSS snippets for #2D5198

.color-2d5198 {
  color: #2D5198;
  background-color: #2D5198;
}

Frequently asked questions

What color is #2D5198?+

#2D5198 is a HEX color with RGB value rgb(45, 81, 152) and HSL value hsl(220, 54%, 39%). Its closest CSS named color is DarkSlateBlue.

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

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