#20206C Color

Inspect #20206C across formats, palettes, contrast and closest named color matches.

Color preview

#20206C

Color formats

HEX
#20206C
RGB
rgb(32, 32, 108)
RGBA
rgba(32, 32, 108, 1)
HSL
hsl(240, 54%, 27%)
HSV
hsv(240, 70%, 42%)
CMYK
cmyk(70%, 70%, 0%, 58%)
CSS variable
--color-primary: #20206C;
Lowercase HEX
#20206c

Shades

Tints

Tones

Harmony

CSS snippets for #20206C

.color-20206c {
  color: #20206C;
  background-color: #20206C;
}

Frequently asked questions

What color is #20206C?+

#20206C is a HEX color with RGB value rgb(32, 32, 108) and HSL value hsl(240, 54%, 27%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #20206C?+

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