#1F207A Color

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

Color preview

#1F207A

Color formats

HEX
#1F207A
RGB
rgb(31, 32, 122)
RGBA
rgba(31, 32, 122, 1)
HSL
hsl(239, 59%, 30%)
HSV
hsv(239, 75%, 48%)
CMYK
cmyk(75%, 74%, 0%, 52%)
CSS variable
--color-primary: #1F207A;
Lowercase HEX
#1f207a

Shades

Tints

Tones

Harmony

CSS snippets for #1F207A

.color-1f207a {
  color: #1F207A;
  background-color: #1F207A;
}

Frequently asked questions

What color is #1F207A?+

#1F207A is a HEX color with RGB value rgb(31, 32, 122) and HSL value hsl(239, 59%, 30%). Its closest CSS named color is MidnightBlue.

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

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