#1F427A Color

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

Color preview

#1F427A

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #1F427A

.color-1f427a {
  color: #1F427A;
  background-color: #1F427A;
}

Frequently asked questions

What color is #1F427A?+

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

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

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