#180D7D Color

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

Color preview

#180D7D

Color formats

HEX
#180D7D
RGB
rgb(24, 13, 125)
RGBA
rgba(24, 13, 125, 1)
HSL
hsl(246, 81%, 27%)
HSV
hsv(246, 90%, 49%)
CMYK
cmyk(81%, 90%, 0%, 51%)
CSS variable
--color-primary: #180D7D;
Lowercase HEX
#180d7d

Shades

Tints

Tones

Harmony

CSS snippets for #180D7D

.color-180d7d {
  color: #180D7D;
  background-color: #180D7D;
}

Frequently asked questions

What color is #180D7D?+

#180D7D is a HEX color with RGB value rgb(24, 13, 125) and HSL value hsl(246, 81%, 27%). Its closest CSS named color is MidnightBlue.

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

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