#2F064B Color

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

Color preview

#2F064B

Color formats

HEX
#2F064B
RGB
rgb(47, 6, 75)
RGBA
rgba(47, 6, 75, 1)
HSL
hsl(276, 85%, 16%)
HSV
hsv(276, 92%, 29%)
CMYK
cmyk(37%, 92%, 0%, 71%)
CSS variable
--color-primary: #2F064B;
Lowercase HEX
#2f064b

Shades

Tints

Tones

Harmony

CSS snippets for #2F064B

.color-2f064b {
  color: #2F064B;
  background-color: #2F064B;
}

Frequently asked questions

What color is #2F064B?+

#2F064B is a HEX color with RGB value rgb(47, 6, 75) and HSL value hsl(276, 85%, 16%). Its closest CSS named color is MidnightBlue.

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

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