#040316 Color

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

Color preview

#040316

Color formats

HEX
#040316
RGB
rgb(4, 3, 22)
RGBA
rgba(4, 3, 22, 1)
HSL
hsl(243, 76%, 5%)
HSV
hsv(243, 86%, 9%)
CMYK
cmyk(82%, 86%, 0%, 91%)
CSS variable
--color-primary: #040316;
Lowercase HEX
#040316

Shades

Tints

Tones

Harmony

CSS snippets for #040316

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

Frequently asked questions

What color is #040316?+

#040316 is a HEX color with RGB value rgb(4, 3, 22) and HSL value hsl(243, 76%, 5%). Its closest CSS named color is Black.

What is the closest Tailwind color to #040316?+

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