#02178A Color

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

Color preview

#02178A

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #02178A

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

Frequently asked questions

What color is #02178A?+

#02178A is a HEX color with RGB value rgb(2, 23, 138) and HSL value hsl(231, 97%, 27%). Its closest CSS named color is DarkBlue.

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

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