#31378C Color

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

Color preview

#31378C

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #31378C

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

Frequently asked questions

What color is #31378C?+

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

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

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