#2D4781 Color

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

Color preview

#2D4781

Color formats

HEX
#2D4781
RGB
rgb(45, 71, 129)
RGBA
rgba(45, 71, 129, 1)
HSL
hsl(221, 48%, 34%)
HSV
hsv(221, 65%, 51%)
CMYK
cmyk(65%, 45%, 0%, 49%)
CSS variable
--color-primary: #2D4781;
Lowercase HEX
#2d4781

Shades

Tints

Tones

Harmony

CSS snippets for #2D4781

.color-2d4781 {
  color: #2D4781;
  background-color: #2D4781;
}

Frequently asked questions

What color is #2D4781?+

#2D4781 is a HEX color with RGB value rgb(45, 71, 129) and HSL value hsl(221, 48%, 34%). Its closest CSS named color is DarkSlateBlue.

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

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