#20006B Color

Inspect #20006B across formats, palettes, contrast and closest named color matches.

Color preview

#20006B

Color formats

HEX
#20006B
RGB
rgb(32, 0, 107)
RGBA
rgba(32, 0, 107, 1)
HSL
hsl(258, 100%, 21%)
HSV
hsv(258, 100%, 42%)
CMYK
cmyk(70%, 100%, 0%, 58%)
CSS variable
--color-primary: #20006B;
Lowercase HEX
#20006b

Shades

Tints

Tones

Harmony

CSS snippets for #20006B

.color-20006b {
  color: #20006B;
  background-color: #20006B;
}

Frequently asked questions

What color is #20006B?+

#20006B is a HEX color with RGB value rgb(32, 0, 107) and HSL value hsl(258, 100%, 21%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #20006B?+

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