#1E173C Color

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

Color preview

#1E173C

Color formats

HEX
#1E173C
RGB
rgb(30, 23, 60)
RGBA
rgba(30, 23, 60, 1)
HSL
hsl(251, 45%, 16%)
HSV
hsv(251, 62%, 24%)
CMYK
cmyk(50%, 62%, 0%, 76%)
CSS variable
--color-primary: #1E173C;
Lowercase HEX
#1e173c

Shades

Tints

Tones

Harmony

CSS snippets for #1E173C

.color-1e173c {
  color: #1E173C;
  background-color: #1E173C;
}

Frequently asked questions

What color is #1E173C?+

#1E173C is a HEX color with RGB value rgb(30, 23, 60) and HSL value hsl(251, 45%, 16%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #1E173C?+

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