#1C1C8C Color

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

Color preview

#1C1C8C

Color formats

HEX
#1C1C8C
RGB
rgb(28, 28, 140)
RGBA
rgba(28, 28, 140, 1)
HSL
hsl(240, 67%, 33%)
HSV
hsv(240, 80%, 55%)
CMYK
cmyk(80%, 80%, 0%, 45%)
CSS variable
--color-primary: #1C1C8C;
Lowercase HEX
#1c1c8c

Shades

Tints

Tones

Harmony

CSS snippets for #1C1C8C

.color-1c1c8c {
  color: #1C1C8C;
  background-color: #1C1C8C;
}

Frequently asked questions

What color is #1C1C8C?+

#1C1C8C is a HEX color with RGB value rgb(28, 28, 140) and HSL value hsl(240, 67%, 33%). Its closest CSS named color is MidnightBlue.

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

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