#041966 Color

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

Color preview

#041966

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #041966

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

Frequently asked questions

What color is #041966?+

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

What is the closest Tailwind color to #041966?+

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