#2D5398 Color

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

Color preview

#2D5398

Color formats

HEX
#2D5398
RGB
rgb(45, 83, 152)
RGBA
rgba(45, 83, 152, 1)
HSL
hsl(219, 54%, 39%)
HSV
hsv(219, 70%, 60%)
CMYK
cmyk(70%, 45%, 0%, 40%)
CSS variable
--color-primary: #2D5398;
Lowercase HEX
#2d5398

Shades

Tints

Tones

Harmony

CSS snippets for #2D5398

.color-2d5398 {
  color: #2D5398;
  background-color: #2D5398;
}

Frequently asked questions

What color is #2D5398?+

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

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

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