#1940AD Color

Inspect #1940AD across formats, palettes, contrast and closest named color matches.

Color preview

#1940AD

Color formats

HEX
#1940AD
RGB
rgb(25, 64, 173)
RGBA
rgba(25, 64, 173, 1)
HSL
hsl(224, 75%, 39%)
HSV
hsv(224, 86%, 68%)
CMYK
cmyk(86%, 63%, 0%, 32%)
CSS variable
--color-primary: #1940AD;
Lowercase HEX
#1940ad

Shades

Tints

Tones

Harmony

CSS snippets for #1940AD

.color-1940ad {
  color: #1940AD;
  background-color: #1940AD;
}

Frequently asked questions

What color is #1940AD?+

#1940AD is a HEX color with RGB value rgb(25, 64, 173) and HSL value hsl(224, 75%, 39%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #1940AD?+

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