#2D216B Color

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

Color preview

#2D216B

Color formats

HEX
#2D216B
RGB
rgb(45, 33, 107)
RGBA
rgba(45, 33, 107, 1)
HSL
hsl(250, 53%, 27%)
HSV
hsv(250, 69%, 42%)
CMYK
cmyk(58%, 69%, 0%, 58%)
CSS variable
--color-primary: #2D216B;
Lowercase HEX
#2d216b

Shades

Tints

Tones

Harmony

CSS snippets for #2D216B

.color-2d216b {
  color: #2D216B;
  background-color: #2D216B;
}

Frequently asked questions

What color is #2D216B?+

#2D216B is a HEX color with RGB value rgb(45, 33, 107) and HSL value hsl(250, 53%, 27%). Its closest CSS named color is MidnightBlue.

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

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