#020D8A Color

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

Color preview

#020D8A

Color formats

HEX
#020D8A
RGB
rgb(2, 13, 138)
RGBA
rgba(2, 13, 138, 1)
HSL
hsl(235, 97%, 27%)
HSV
hsv(235, 99%, 54%)
CMYK
cmyk(99%, 91%, 0%, 46%)
CSS variable
--color-primary: #020D8A;
Lowercase HEX
#020d8a

Shades

Tints

Tones

Harmony

CSS snippets for #020D8A

.color-020d8a {
  color: #020D8A;
  background-color: #020D8A;
}

Frequently asked questions

What color is #020D8A?+

#020D8A is a HEX color with RGB value rgb(2, 13, 138) and HSL value hsl(235, 97%, 27%). Its closest CSS named color is DarkBlue.

What is the closest Tailwind color to #020D8A?+

The closest Tailwind color is blue-900, available as the bg-blue-900 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