#31337C Color

Inspect #31337C across formats, palettes, contrast and closest named color matches.

Color preview

#31337C

Color formats

HEX
#31337C
RGB
rgb(49, 51, 124)
RGBA
rgba(49, 51, 124, 1)
HSL
hsl(238, 43%, 34%)
HSV
hsv(238, 60%, 49%)
CMYK
cmyk(60%, 59%, 0%, 51%)
CSS variable
--color-primary: #31337C;
Lowercase HEX
#31337c

Shades

Tints

Tones

Harmony

CSS snippets for #31337C

.color-31337c {
  color: #31337C;
  background-color: #31337C;
}

Frequently asked questions

What color is #31337C?+

#31337C is a HEX color with RGB value rgb(49, 51, 124) and HSL value hsl(238, 43%, 34%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #31337C?+

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