#2D173C Color

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

Color preview

#2D173C

Color formats

HEX
#2D173C
RGB
rgb(45, 23, 60)
RGBA
rgba(45, 23, 60, 1)
HSL
hsl(276, 45%, 16%)
HSV
hsv(276, 62%, 24%)
CMYK
cmyk(25%, 62%, 0%, 76%)
CSS variable
--color-primary: #2D173C;
Lowercase HEX
#2d173c

Shades

Tints

Tones

Harmony

CSS snippets for #2D173C

.color-2d173c {
  color: #2D173C;
  background-color: #2D173C;
}

Frequently asked questions

What color is #2D173C?+

#2D173C is a HEX color with RGB value rgb(45, 23, 60) and HSL value hsl(276, 45%, 16%). Its closest CSS named color is MidnightBlue.

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

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