#02008A Color

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

Color preview

#02008A

Color formats

HEX
#02008A
RGB
rgb(2, 0, 138)
RGBA
rgba(2, 0, 138, 1)
HSL
hsl(241, 100%, 27%)
HSV
hsv(241, 100%, 54%)
CMYK
cmyk(99%, 100%, 0%, 46%)
CSS variable
--color-primary: #02008A;
Lowercase HEX
#02008a

Shades

Tints

Tones

Harmony

CSS snippets for #02008A

.color-02008a {
  color: #02008A;
  background-color: #02008A;
}

Frequently asked questions

What color is #02008A?+

#02008A is a HEX color with RGB value rgb(2, 0, 138) and HSL value hsl(241, 100%, 27%). Its closest CSS named color is DarkBlue.

What is the closest Tailwind color to #02008A?+

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