#2D115B Color

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

Color preview

#2D115B

Color formats

HEX
#2D115B
RGB
rgb(45, 17, 91)
RGBA
rgba(45, 17, 91, 1)
HSL
hsl(263, 69%, 21%)
HSV
hsv(263, 81%, 36%)
CMYK
cmyk(51%, 81%, 0%, 64%)
CSS variable
--color-primary: #2D115B;
Lowercase HEX
#2d115b

Shades

Tints

Tones

Harmony

CSS snippets for #2D115B

.color-2d115b {
  color: #2D115B;
  background-color: #2D115B;
}

Frequently asked questions

What color is #2D115B?+

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

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

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