#012151 Color

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

Color preview

#012151

Color formats

HEX
#012151
RGB
rgb(1, 33, 81)
RGBA
rgba(1, 33, 81, 1)
HSL
hsl(216, 98%, 16%)
HSV
hsv(216, 99%, 32%)
CMYK
cmyk(99%, 59%, 0%, 68%)
CSS variable
--color-primary: #012151;
Lowercase HEX
#012151

Shades

Tints

Tones

Harmony

CSS snippets for #012151

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

Frequently asked questions

What color is #012151?+

#012151 is a HEX color with RGB value rgb(1, 33, 81) and HSL value hsl(216, 98%, 16%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #012151?+

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