#0400F2 Color

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

Color preview

#0400F2

Color formats

HEX
#0400F2
RGB
rgb(4, 0, 242)
RGBA
rgba(4, 0, 242, 1)
HSL
hsl(241, 100%, 47%)
HSV
hsv(241, 100%, 95%)
CMYK
cmyk(98%, 100%, 0%, 5%)
CSS variable
--color-primary: #0400F2;
Lowercase HEX
#0400f2

Shades

Tints

Tones

Harmony

CSS snippets for #0400F2

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

Frequently asked questions

What color is #0400F2?+

#0400F2 is a HEX color with RGB value rgb(4, 0, 242) and HSL value hsl(241, 100%, 47%). Its closest CSS named color is Blue.

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

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