#2F218C Color

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

Color preview

#2F218C

Color formats

HEX
#2F218C
RGB
rgb(47, 33, 140)
RGBA
rgba(47, 33, 140, 1)
HSL
hsl(248, 62%, 34%)
HSV
hsv(248, 76%, 55%)
CMYK
cmyk(66%, 76%, 0%, 45%)
CSS variable
--color-primary: #2F218C;
Lowercase HEX
#2f218c

Shades

Tints

Tones

Harmony

CSS snippets for #2F218C

.color-2f218c {
  color: #2F218C;
  background-color: #2F218C;
}

Frequently asked questions

What color is #2F218C?+

#2F218C is a HEX color with RGB value rgb(47, 33, 140) and HSL value hsl(248, 62%, 34%). Its closest CSS named color is MidnightBlue.

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

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