#001252 Color

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

Color preview

#001252

Color formats

HEX
#001252
RGB
rgb(0, 18, 82)
RGBA
rgba(0, 18, 82, 1)
HSL
hsl(227, 100%, 16%)
HSV
hsv(227, 100%, 32%)
CMYK
cmyk(100%, 78%, 0%, 68%)
CSS variable
--color-primary: #001252;
Lowercase HEX
#001252

Shades

Tints

Tones

Harmony

CSS snippets for #001252

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

Frequently asked questions

What color is #001252?+

#001252 is a HEX color with RGB value rgb(0, 18, 82) and HSL value hsl(227, 100%, 16%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #001252?+

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