#2F173C Color

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

Color preview

#2F173C

Color formats

HEX
#2F173C
RGB
rgb(47, 23, 60)
RGBA
rgba(47, 23, 60, 1)
HSL
hsl(279, 45%, 16%)
HSV
hsv(279, 62%, 24%)
CMYK
cmyk(22%, 62%, 0%, 76%)
CSS variable
--color-primary: #2F173C;
Lowercase HEX
#2f173c

Shades

Tints

Tones

Harmony

CSS snippets for #2F173C

.color-2f173c {
  color: #2F173C;
  background-color: #2F173C;
}

Frequently asked questions

What color is #2F173C?+

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

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

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