#020052 Color

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

Color preview

#020052

Color formats

HEX
#020052
RGB
rgb(2, 0, 82)
RGBA
rgba(2, 0, 82, 1)
HSL
hsl(241, 100%, 16%)
HSV
hsv(241, 100%, 32%)
CMYK
cmyk(98%, 100%, 0%, 68%)
CSS variable
--color-primary: #020052;
Lowercase HEX
#020052

Shades

Tints

Tones

Harmony

CSS snippets for #020052

.color-020052 {
  color: #020052;
  background-color: #020052;
}

Frequently asked questions

What color is #020052?+

#020052 is a HEX color with RGB value rgb(2, 0, 82) and HSL value hsl(241, 100%, 16%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #020052?+

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