#040466 Color

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

Color preview

#040466

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #040466

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

Frequently asked questions

What color is #040466?+

#040466 is a HEX color with RGB value rgb(4, 4, 102) and HSL value hsl(240, 92%, 21%). Its closest CSS named color is Navy.

What is the closest Tailwind color to #040466?+

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