#31307E Color

Inspect #31307E across formats, palettes, contrast and closest named color matches.

Color preview

#31307E

Color formats

HEX
#31307E
RGB
rgb(49, 48, 126)
RGBA
rgba(49, 48, 126, 1)
HSL
hsl(241, 45%, 34%)
HSV
hsv(241, 62%, 49%)
CMYK
cmyk(61%, 62%, 0%, 51%)
CSS variable
--color-primary: #31307E;
Lowercase HEX
#31307e

Shades

Tints

Tones

Harmony

CSS snippets for #31307E

.color-31307e {
  color: #31307E;
  background-color: #31307E;
}

Frequently asked questions

What color is #31307E?+

#31307E is a HEX color with RGB value rgb(49, 48, 126) and HSL value hsl(241, 45%, 34%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #31307E?+

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