Midnight Blue Hex Code — #191970
RGB, HSL, and CMYK values for Midnight Blue.
Last updated: April 6, 2026
Midnight Blue Color Values
| Format | Value |
|---|---|
| HEX | #191970 |
| RGB | rgb(25, 25, 112) |
| HSL | hsl(240, 64%, 27%) |
| CMYK | cmyk(78%, 78%, 0%, 56%) |
About Midnight Blue
Color psychology: Depth, mystery.
Midnight Blue (#191970) is a dark shade of blue with a hue angle of 240° on the color wheel, 64% saturation, and 27% lightness. It's commonly used in web design, graphic design, and branding where depth, mystery are desired associations.
In color theory, Midnight Blue sits in the cool section of the spectrum. Its high saturation makes it vivid and attention-grabbing — ideal for CTAs, headings, and brand accents.
When to Use Midnight Blue in Design
Web Design
Use Midnight Blue for headings, links, or accent elements against light backgrounds. Dark colors like this provide strong contrast and draw the eye to important content.
Branding & Logo
Midnight Blue conveys depth, mystery — consider it for brands that want to project these qualities. Test it at small sizes (favicon, social avatar) to ensure it remains recognizable.
Print Design
Use the CMYK values (C:78% M:78% Y:0% K:56%) for accurate print reproduction in brochures, business cards, and packaging. Request a physical proof — screen colors often appear more vibrant than their printed equivalents.
UI / UX Design
Dark colors like Midnight Blue are effective for primary buttons, navigation bars, and text. Use a lighter tint (increase HSL lightness to 90%+) for hover backgrounds.
How to Use Midnight Blue in CSS
/* Using HEX */ color: #191970; background-color: #191970; /* Using RGB */ color: rgb(25, 25, 112); /* Using HSL — best for creating variations */ color: hsl(240, 64%, 27%); /* Transparent overlay (50% opacity) */ background-color: rgba(25, 25, 112, 0.5); /* Lighter variant for hover states */ background-color: hsl(240, 64%, 37%); /* Darker variant for active states */ background-color: hsl(240, 64%, 17%);
HSL is the most flexible format for creating color systems. By adjusting the lightness value, you can generate an entire shade scale from Midnight Blue without changing its core hue or saturation.
Colors That Go With Midnight Blue
Complementary
Analogous
Triadic
Similar Shades of Blue
Frequently Asked Questions
What is the hex code for Midnight Blue?
What is Midnight Blue in RGB and when should I use RGB?
How to use Midnight Blue in CSS with different color formats?
What is the HSL value of Midnight Blue and why is HSL useful for designers?
What is the CMYK value of Midnight Blue for print design?
What colors pair well with Midnight Blue in design projects?
Is Midnight Blue (#191970) accessible for web design and WCAG compliant?
Was this page helpful?
Written by
Tamanna Tasnim
Senior Full Stack Developer
Full-stack developer with deep expertise in data formats, APIs, and developer tooling. Writes in-depth technical comparisons and conversion guides backed by hands-on engineering experience across modern web stacks.