#1F1479 Color

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

Color preview

#1F1479

Color formats

HEX
#1F1479
RGB
rgb(31, 20, 121)
RGBA
rgba(31, 20, 121, 1)
HSL
hsl(247, 72%, 28%)
HSV
hsv(247, 83%, 47%)
CMYK
cmyk(74%, 83%, 0%, 53%)
CSS variable
--color-primary: #1F1479;
Lowercase HEX
#1f1479

Shades

Tints

Tones

Harmony

CSS snippets for #1F1479

.color-1f1479 {
  color: #1F1479;
  background-color: #1F1479;
}

Frequently asked questions

What color is #1F1479?+

#1F1479 is a HEX color with RGB value rgb(31, 20, 121) and HSL value hsl(247, 72%, 28%). Its closest CSS named color is MidnightBlue.

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

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