#301881 Color

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

Color preview

#301881

Color formats

HEX
#301881
RGB
rgb(48, 24, 129)
RGBA
rgba(48, 24, 129, 1)
HSL
hsl(254, 69%, 30%)
HSV
hsv(254, 81%, 51%)
CMYK
cmyk(63%, 81%, 0%, 49%)
CSS variable
--color-primary: #301881;
Lowercase HEX
#301881

Shades

Tints

Tones

Harmony

CSS snippets for #301881

.color-301881 {
  color: #301881;
  background-color: #301881;
}

Frequently asked questions

What color is #301881?+

#301881 is a HEX color with RGB value rgb(48, 24, 129) and HSL value hsl(254, 69%, 30%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #301881?+

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