#31458C Color

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

Color preview

#31458C

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #31458C

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

Frequently asked questions

What color is #31458C?+

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

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

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