#040350 Color

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

Color preview

#040350

Color formats

HEX
#040350
RGB
rgb(4, 3, 80)
RGBA
rgba(4, 3, 80, 1)
HSL
hsl(241, 93%, 16%)
HSV
hsv(241, 96%, 31%)
CMYK
cmyk(95%, 96%, 0%, 69%)
CSS variable
--color-primary: #040350;
Lowercase HEX
#040350

Shades

Tints

Tones

Harmony

CSS snippets for #040350

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

Frequently asked questions

What color is #040350?+

#040350 is a HEX color with RGB value rgb(4, 3, 80) and HSL value hsl(241, 93%, 16%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #040350?+

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