#2F31A6 Color

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

Color preview

#2F31A6

Color formats

HEX
#2F31A6
RGB
rgb(47, 49, 166)
RGBA
rgba(47, 49, 166, 1)
HSL
hsl(239, 56%, 42%)
HSV
hsv(239, 72%, 65%)
CMYK
cmyk(72%, 70%, 0%, 35%)
CSS variable
--color-primary: #2F31A6;
Lowercase HEX
#2f31a6

Shades

Tints

Tones

Harmony

CSS snippets for #2F31A6

.color-2f31a6 {
  color: #2F31A6;
  background-color: #2F31A6;
}

Frequently asked questions

What color is #2F31A6?+

#2F31A6 is a HEX color with RGB value rgb(47, 49, 166) and HSL value hsl(239, 56%, 42%). Its closest CSS named color is DarkSlateBlue.

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

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