#1940EB Color

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

Color preview

#1940EB

Color formats

HEX
#1940EB
RGB
rgb(25, 64, 235)
RGBA
rgba(25, 64, 235, 1)
HSL
hsl(229, 84%, 51%)
HSV
hsv(229, 89%, 92%)
CMYK
cmyk(89%, 73%, 0%, 8%)
CSS variable
--color-primary: #1940EB;
Lowercase HEX
#1940eb

Shades

Tints

Tones

Harmony

CSS snippets for #1940EB

.color-1940eb {
  color: #1940EB;
  background-color: #1940EB;
}

Frequently asked questions

What color is #1940EB?+

#1940EB is a HEX color with RGB value rgb(25, 64, 235) and HSL value hsl(229, 84%, 51%). Its closest CSS named color is RoyalBlue.

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

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