#1840F2 Color

Inspect #1840F2 across formats, palettes, contrast and closest named color matches.

Color preview

#1840F2

Color formats

HEX
#1840F2
RGB
rgb(24, 64, 242)
RGBA
rgba(24, 64, 242, 1)
HSL
hsl(229, 89%, 52%)
HSV
hsv(229, 90%, 95%)
CMYK
cmyk(90%, 74%, 0%, 5%)
CSS variable
--color-primary: #1840F2;
Lowercase HEX
#1840f2

Shades

Tints

Tones

Harmony

CSS snippets for #1840F2

.color-1840f2 {
  color: #1840F2;
  background-color: #1840F2;
}

Frequently asked questions

What color is #1840F2?+

#1840F2 is a HEX color with RGB value rgb(24, 64, 242) and HSL value hsl(229, 89%, 52%). Its closest CSS named color is RoyalBlue.

What is the closest Tailwind color to #1840F2?+

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