#1F0949 Color

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

Color preview

#1F0949

Color formats

HEX
#1F0949
RGB
rgb(31, 9, 73)
RGBA
rgba(31, 9, 73, 1)
HSL
hsl(261, 78%, 16%)
HSV
hsv(261, 88%, 29%)
CMYK
cmyk(58%, 88%, 0%, 71%)
CSS variable
--color-primary: #1F0949;
Lowercase HEX
#1f0949

Shades

Tints

Tones

Harmony

CSS snippets for #1F0949

.color-1f0949 {
  color: #1F0949;
  background-color: #1F0949;
}

Frequently asked questions

What color is #1F0949?+

#1F0949 is a HEX color with RGB value rgb(31, 9, 73) and HSL value hsl(261, 78%, 16%). Its closest CSS named color is MidnightBlue.

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

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