The midnight blue color code is #191970 in hexadecimal. Click any value below to copy it. Use HEX/RGB for web and digital design, CMYK for print, and HSL when adjusting lightness or saturation in code.
| Format | Value |
|---|---|
| HEX | #191970 |
| RGB | rgb(25, 25, 112) |
| CMYK | cmyk(78%, 78%, 0%, 56%) |
| HSL | hsl(240, 64%, 27%) |
How to Use Midnight Blue in CSS
background-color: #191970; | color: rgb(25, 25, 112); | border-color: hsl(240, 64%, 27%);
Nearest Shades
FAQs
What is the hex code for midnight blue?
The hex code for midnight blue is #191970. In RGB it is rgb(25, 25, 112), and in CMYK it is 78%, 78%, 0%, 56%. You can copy these codes from the color code section above.
What does the color midnight blue mean?
Midnight Blue is associated with trust, stability, intelligence and calm. Its exact meaning shifts with culture and context — see the meaning and cultural sections on this page for details.
What colors go with midnight blue?
Midnight Blue pairs beautifully with black, white, gold, gray and its complementary color. Explore the midnight blue color combinations and palettes on this page for ready-to-use schemes.
Where can I download midnight blue backgrounds?
Right here — this site offers 32 free midnight blue backgrounds in HD (1920×1080) across 8 styles: solid, gradient, glow, waves, bokeh, rays, texture and curves. All are free for personal and commercial use.