#2F1C92 Color

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

Color preview

#2F1C92

Color formats

HEX
#2F1C92
RGB
rgb(47, 28, 146)
RGBA
rgba(47, 28, 146, 1)
HSL
hsl(250, 68%, 34%)
HSV
hsv(250, 81%, 57%)
CMYK
cmyk(68%, 81%, 0%, 43%)
CSS variable
--color-primary: #2F1C92;
Lowercase HEX
#2f1c92

Shades

Tints

Tones

Harmony

CSS snippets for #2F1C92

.color-2f1c92 {
  color: #2F1C92;
  background-color: #2F1C92;
}

Frequently asked questions

What color is #2F1C92?+

#2F1C92 is a HEX color with RGB value rgb(47, 28, 146) and HSL value hsl(250, 68%, 34%). Its closest CSS named color is MidnightBlue.

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

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