#1F4CAD Color

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

Color preview

#1F4CAD

Color formats

HEX
#1F4CAD
RGB
rgb(31, 76, 173)
RGBA
rgba(31, 76, 173, 1)
HSL
hsl(221, 70%, 40%)
HSV
hsv(221, 82%, 68%)
CMYK
cmyk(82%, 56%, 0%, 32%)
CSS variable
--color-primary: #1F4CAD;
Lowercase HEX
#1f4cad

Shades

Tints

Tones

Harmony

CSS snippets for #1F4CAD

.color-1f4cad {
  color: #1F4CAD;
  background-color: #1F4CAD;
}

Frequently asked questions

What color is #1F4CAD?+

#1F4CAD is a HEX color with RGB value rgb(31, 76, 173) and HSL value hsl(221, 70%, 40%). Its closest CSS named color is DarkSlateBlue.

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

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