#5F5581 Color

Inspect #5F5581 across formats, palettes, contrast and closest named color matches.

Color preview

#5F5581

Color formats

HEX
#5F5581
RGB
rgb(95, 85, 129)
RGBA
rgba(95, 85, 129, 1)
HSL
hsl(254, 21%, 42%)
HSV
hsv(254, 34%, 51%)
CMYK
cmyk(26%, 34%, 0%, 49%)
CSS variable
--color-primary: #5F5581;
Lowercase HEX
#5f5581

Shades

Tints

Tones

Harmony

CSS snippets for #5F5581

.color-5f5581 {
  color: #5F5581;
  background-color: #5F5581;
}

Frequently asked questions

What color is #5F5581?+

#5F5581 is a HEX color with RGB value rgb(95, 85, 129) and HSL value hsl(254, 21%, 42%). Its closest CSS named color is DimGray.

What is the closest Tailwind color to #5F5581?+

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