#2D218C Color

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

Color preview

#2D218C

Color formats

HEX
#2D218C
RGB
rgb(45, 33, 140)
RGBA
rgba(45, 33, 140, 1)
HSL
hsl(247, 62%, 34%)
HSV
hsv(247, 76%, 55%)
CMYK
cmyk(68%, 76%, 0%, 45%)
CSS variable
--color-primary: #2D218C;
Lowercase HEX
#2d218c

Shades

Tints

Tones

Harmony

CSS snippets for #2D218C

.color-2d218c {
  color: #2D218C;
  background-color: #2D218C;
}

Frequently asked questions

What color is #2D218C?+

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

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

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