#1F297A Color

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

Color preview

#1F297A

Color formats

HEX
#1F297A
RGB
rgb(31, 41, 122)
RGBA
rgba(31, 41, 122, 1)
HSL
hsl(233, 59%, 30%)
HSV
hsv(233, 75%, 48%)
CMYK
cmyk(75%, 66%, 0%, 52%)
CSS variable
--color-primary: #1F297A;
Lowercase HEX
#1f297a

Shades

Tints

Tones

Harmony

CSS snippets for #1F297A

.color-1f297a {
  color: #1F297A;
  background-color: #1F297A;
}

Frequently asked questions

What color is #1F297A?+

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

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

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