#002F8C Color

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

Color preview

#002F8C

Color formats

HEX
#002F8C
RGB
rgb(0, 47, 140)
RGBA
rgba(0, 47, 140, 1)
HSL
hsl(220, 100%, 27%)
HSV
hsv(220, 100%, 55%)
CMYK
cmyk(100%, 66%, 0%, 45%)
CSS variable
--color-primary: #002F8C;
Lowercase HEX
#002f8c

Shades

Tints

Tones

Harmony

CSS snippets for #002F8C

.color-002f8c {
  color: #002F8C;
  background-color: #002F8C;
}

Frequently asked questions

What color is #002F8C?+

#002F8C is a HEX color with RGB value rgb(0, 47, 140) and HSL value hsl(220, 100%, 27%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #002F8C?+

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