#2D0D5E Color

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

Color preview

#2D0D5E

Color formats

HEX
#2D0D5E
RGB
rgb(45, 13, 94)
RGBA
rgba(45, 13, 94, 1)
HSL
hsl(264, 76%, 21%)
HSV
hsv(264, 86%, 37%)
CMYK
cmyk(52%, 86%, 0%, 63%)
CSS variable
--color-primary: #2D0D5E;
Lowercase HEX
#2d0d5e

Shades

Tints

Tones

Harmony

CSS snippets for #2D0D5E

.color-2d0d5e {
  color: #2D0D5E;
  background-color: #2D0D5E;
}

Frequently asked questions

What color is #2D0D5E?+

#2D0D5E is a HEX color with RGB value rgb(45, 13, 94) and HSL value hsl(264, 76%, 21%). Its closest CSS named color is MidnightBlue.

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

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