#1F337A Color

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

Color preview

#1F337A

Color formats

HEX
#1F337A
RGB
rgb(31, 51, 122)
RGBA
rgba(31, 51, 122, 1)
HSL
hsl(227, 59%, 30%)
HSV
hsv(227, 75%, 48%)
CMYK
cmyk(75%, 58%, 0%, 52%)
CSS variable
--color-primary: #1F337A;
Lowercase HEX
#1f337a

Shades

Tints

Tones

Harmony

CSS snippets for #1F337A

.color-1f337a {
  color: #1F337A;
  background-color: #1F337A;
}

Frequently asked questions

What color is #1F337A?+

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

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

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