Midnight Hex Code — #121212

RGB, HSL, and CMYK values for Midnight.

Midnight Color Values

FormatValue
HEX#121212
RGBrgb(18, 18, 18)
HSLhsl(0, 0%, 7%)
CMYKcmyk(0%, 0%, 0%, 93%)
Want to explore more shades? Use our Color Converter

About Midnight

Color psychology: Mystery, depth.

Midnight (#121212) is a dark shade of black. It's commonly used in web design, graphic design, and branding where mystery, depth are desired associations.

How to Use Midnight in CSS

/* Using HEX */
color: #121212;
background-color: #121212;

/* Using RGB */
color: rgb(18, 18, 18);

/* Using HSL */
color: hsl(0, 0%, 7%);

Colors That Go With Midnight

Complementary

Analogous

Triadic

Similar Shades of Black

Frequently Asked Questions