#041866 Color

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

Color preview

#041866

Color formats

HEX
#041866
RGB
rgb(4, 24, 102)
RGBA
rgba(4, 24, 102, 1)
HSL
hsl(228, 92%, 21%)
HSV
hsv(228, 96%, 40%)
CMYK
cmyk(96%, 76%, 0%, 60%)
CSS variable
--color-primary: #041866;
Lowercase HEX
#041866

Shades

Tints

Tones

Harmony

CSS snippets for #041866

.color-041866 {
  color: #041866;
  background-color: #041866;
}

Frequently asked questions

What color is #041866?+

#041866 is a HEX color with RGB value rgb(4, 24, 102) and HSL value hsl(228, 92%, 21%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #041866?+

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