#51489D Color

Inspect #51489D across formats, palettes, contrast and closest named color matches.

Color preview

#51489D

Color formats

HEX
#51489D
RGB
rgb(81, 72, 157)
RGBA
rgba(81, 72, 157, 1)
HSL
hsl(246, 37%, 45%)
HSV
hsv(246, 54%, 62%)
CMYK
cmyk(48%, 54%, 0%, 38%)
CSS variable
--color-primary: #51489D;
Lowercase HEX
#51489d

Shades

Tints

Tones

Harmony

CSS snippets for #51489D

.color-51489d {
  color: #51489D;
  background-color: #51489D;
}

Frequently asked questions

What color is #51489D?+

#51489D is a HEX color with RGB value rgb(81, 72, 157) and HSL value hsl(246, 37%, 45%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #51489D?+

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