#315197 Color

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

Color preview

#315197

Color formats

HEX
#315197
RGB
rgb(49, 81, 151)
RGBA
rgba(49, 81, 151, 1)
HSL
hsl(221, 51%, 39%)
HSV
hsv(221, 68%, 59%)
CMYK
cmyk(68%, 46%, 0%, 41%)
CSS variable
--color-primary: #315197;
Lowercase HEX
#315197

Shades

Tints

Tones

Harmony

CSS snippets for #315197

.color-315197 {
  color: #315197;
  background-color: #315197;
}

Frequently asked questions

What color is #315197?+

#315197 is a HEX color with RGB value rgb(49, 81, 151) and HSL value hsl(221, 51%, 39%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #315197?+

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