#181C52 Color

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

Color preview

#181C52

Color formats

HEX
#181C52
RGB
rgb(24, 28, 82)
RGBA
rgba(24, 28, 82, 1)
HSL
hsl(236, 55%, 21%)
HSV
hsv(236, 71%, 32%)
CMYK
cmyk(71%, 66%, 0%, 68%)
CSS variable
--color-primary: #181C52;
Lowercase HEX
#181c52

Shades

Tints

Tones

Harmony

CSS snippets for #181C52

.color-181c52 {
  color: #181C52;
  background-color: #181C52;
}

Frequently asked questions

What color is #181C52?+

#181C52 is a HEX color with RGB value rgb(24, 28, 82) and HSL value hsl(236, 55%, 21%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #181C52?+

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