#1A1A4C Color

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

Color preview

#1A1A4C

Color formats

HEX
#1A1A4C
RGB
rgb(26, 26, 76)
RGBA
rgba(26, 26, 76, 1)
HSL
hsl(240, 49%, 20%)
HSV
hsv(240, 66%, 30%)
CMYK
cmyk(66%, 66%, 0%, 70%)
CSS variable
--color-primary: #1A1A4C;
Lowercase HEX
#1a1a4c

Shades

Tints

Tones

Harmony

CSS snippets for #1A1A4C

.color-1a1a4c {
  color: #1A1A4C;
  background-color: #1A1A4C;
}

Frequently asked questions

What color is #1A1A4C?+

#1A1A4C is a HEX color with RGB value rgb(26, 26, 76) and HSL value hsl(240, 49%, 20%). Its closest CSS named color is MidnightBlue.

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

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