#180C5E Color

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

Color preview

#180C5E

Color formats

HEX
#180C5E
RGB
rgb(24, 12, 94)
RGBA
rgba(24, 12, 94, 1)
HSL
hsl(249, 77%, 21%)
HSV
hsv(249, 87%, 37%)
CMYK
cmyk(74%, 87%, 0%, 63%)
CSS variable
--color-primary: #180C5E;
Lowercase HEX
#180c5e

Shades

Tints

Tones

Harmony

CSS snippets for #180C5E

.color-180c5e {
  color: #180C5E;
  background-color: #180C5E;
}

Frequently asked questions

What color is #180C5E?+

#180C5E is a HEX color with RGB value rgb(24, 12, 94) and HSL value hsl(249, 77%, 21%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #180C5E?+

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