#2F317E Color

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

Color preview

#2F317E

Color formats

HEX
#2F317E
RGB
rgb(47, 49, 126)
RGBA
rgba(47, 49, 126, 1)
HSL
hsl(238, 46%, 34%)
HSV
hsv(238, 63%, 49%)
CMYK
cmyk(63%, 61%, 0%, 51%)
CSS variable
--color-primary: #2F317E;
Lowercase HEX
#2f317e

Shades

Tints

Tones

Harmony

CSS snippets for #2F317E

.color-2f317e {
  color: #2F317E;
  background-color: #2F317E;
}

Frequently asked questions

What color is #2F317E?+

#2F317E is a HEX color with RGB value rgb(47, 49, 126) and HSL value hsl(238, 46%, 34%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #2F317E?+

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