#042DFB Color

Inspect #042DFB across formats, palettes, contrast and closest named color matches.

Color preview

#042DFB

Color formats

HEX
#042DFB
RGB
rgb(4, 45, 251)
RGBA
rgba(4, 45, 251, 1)
HSL
hsl(230, 97%, 50%)
HSV
hsv(230, 98%, 98%)
CMYK
cmyk(98%, 82%, 0%, 2%)
CSS variable
--color-primary: #042DFB;
Lowercase HEX
#042dfb

Shades

Tints

Tones

Harmony

CSS snippets for #042DFB

.color-042dfb {
  color: #042DFB;
  background-color: #042DFB;
}

Frequently asked questions

What color is #042DFB?+

#042DFB is a HEX color with RGB value rgb(4, 45, 251) and HSL value hsl(230, 97%, 50%). Its closest CSS named color is Blue.

What is the closest Tailwind color to #042DFB?+

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