#2D105B Color

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

Color preview

#2D105B

Color formats

HEX
#2D105B
RGB
rgb(45, 16, 91)
RGBA
rgba(45, 16, 91, 1)
HSL
hsl(263, 70%, 21%)
HSV
hsv(263, 82%, 36%)
CMYK
cmyk(51%, 82%, 0%, 64%)
CSS variable
--color-primary: #2D105B;
Lowercase HEX
#2d105b

Shades

Tints

Tones

Harmony

CSS snippets for #2D105B

.color-2d105b {
  color: #2D105B;
  background-color: #2D105B;
}

Frequently asked questions

What color is #2D105B?+

#2D105B is a HEX color with RGB value rgb(45, 16, 91) and HSL value hsl(263, 70%, 21%). Its closest CSS named color is MidnightBlue.

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

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