#180F7B Color

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

Color preview

#180F7B

Color formats

HEX
#180F7B
RGB
rgb(24, 15, 123)
RGBA
rgba(24, 15, 123, 1)
HSL
hsl(245, 78%, 27%)
HSV
hsv(245, 88%, 48%)
CMYK
cmyk(80%, 88%, 0%, 52%)
CSS variable
--color-primary: #180F7B;
Lowercase HEX
#180f7b

Shades

Tints

Tones

Harmony

CSS snippets for #180F7B

.color-180f7b {
  color: #180F7B;
  background-color: #180F7B;
}

Frequently asked questions

What color is #180F7B?+

#180F7B is a HEX color with RGB value rgb(24, 15, 123) and HSL value hsl(245, 78%, 27%). Its closest CSS named color is MidnightBlue.

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

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