#2F214A Color

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

Color preview

#2F214A

Color formats

HEX
#2F214A
RGB
rgb(47, 33, 74)
RGBA
rgba(47, 33, 74, 1)
HSL
hsl(260, 38%, 21%)
HSV
hsv(260, 55%, 29%)
CMYK
cmyk(36%, 55%, 0%, 71%)
CSS variable
--color-primary: #2F214A;
Lowercase HEX
#2f214a

Shades

Tints

Tones

Harmony

CSS snippets for #2F214A

.color-2f214a {
  color: #2F214A;
  background-color: #2F214A;
}

Frequently asked questions

What color is #2F214A?+

#2F214A is a HEX color with RGB value rgb(47, 33, 74) and HSL value hsl(260, 38%, 21%). Its closest CSS named color is MidnightBlue.

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

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