#31338C Color

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

Color preview

#31338C

Color formats

HEX
#31338C
RGB
rgb(49, 51, 140)
RGBA
rgba(49, 51, 140, 1)
HSL
hsl(239, 48%, 37%)
HSV
hsv(239, 65%, 55%)
CMYK
cmyk(65%, 64%, 0%, 45%)
CSS variable
--color-primary: #31338C;
Lowercase HEX
#31338c

Shades

Tints

Tones

Harmony

CSS snippets for #31338C

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

Frequently asked questions

What color is #31338C?+

#31338C is a HEX color with RGB value rgb(49, 51, 140) and HSL value hsl(239, 48%, 37%). Its closest CSS named color is DarkSlateBlue.

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

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