Midnight
- HEX
#0B132B- RGB
11, 19, 43- HSL
225°, 59%, 11%- CMYK
74, 56, 0, 83
Midnight navy, ink blue and moonlit silver for dark mode. Here are 3 midnight palettes with names and HEX, RGB, HSL and CMYK codes - click any color to copy it, or export the whole set.
Something went wrong. Please try again.
Still having trouble? Please contact us and we'll be happy to help!
#0B132B11, 19, 43225°, 59%, 11%74, 56, 0, 83#1C254128, 37, 65225°, 40%, 18%57, 43, 0, 75#3A506B58, 80, 107213°, 30%, 32%46, 25, 0, 58#5BC0BE91, 192, 190179°, 44%, 55%53, 0, 1, 25#E0E6ED224, 230, 237212°, 27%, 90%5, 3, 0, 7See it in use
Roles picked automatically: background #0B132B, text #E0E6ED, buttons #5BC0BE.
Readable pairs
5 pass AASee every combination in the Accessible Color Palette grid.
Palette gradient
background: linear-gradient(90deg, #0b132b, #1c2541, #3a506b, #5bc0be, #e0e6ed);
Change the angle, blend in OKLab or download it as PNG in the Gradient Generator.
#0D111713, 17, 23216°, 28%, 7%43, 26, 0, 91#161B2222, 27, 34215°, 21%, 11%35, 21, 0, 87#30363D48, 54, 61212°, 12%, 21%21, 11, 0, 76#58A6FF88, 166, 255212°, 100%, 67%65, 35, 0, 0#C9D1D9201, 209, 217210°, 17%, 82%7, 4, 0, 15See it in use
Roles picked automatically: background #0D1117, text #C9D1D9, buttons #58A6FF.
Readable pairs
6 pass AASee every combination in the Accessible Color Palette grid.
Palette gradient
background: linear-gradient(90deg, #0d1117, #161b22, #30363d, #58a6ff, #c9d1d9);
Change the angle, blend in OKLab or download it as PNG in the Gradient Generator.
#10002B16, 0, 43262°, 100%, 8%63, 100, 0, 83#24004636, 0, 70271°, 100%, 14%49, 100, 0, 73#5A189A90, 24, 154270°, 73%, 35%42, 84, 0, 40#9D4EDD157, 78, 221273°, 68%, 59%29, 65, 0, 13#E0AAFF224, 170, 255278°, 100%, 83%12, 33, 0, 0See it in use
Roles picked automatically: background #10002B, text #E0AAFF, buttons #9D4EDD.
Readable pairs
3 pass AASee every combination in the Accessible Color Palette grid.
Palette gradient
background: linear-gradient(90deg, #10002b, #240046, #5a189a, #9d4edd, #e0aaff);
Change the angle, blend in OKLab or download it as PNG in the Gradient Generator.
Midnight palettes are great for dark-mode apps, developer tools, night photography sites, sleep apps and elegant evening events.
Quiet, deep and sophisticated. Navy-black is softer on the eyes than pure black, and silver-blue text glows gently on it.
Build dark mode in layers: darkest for the page, a step lighter for cards, then silver for text. One brighter blue or gold accent is enough.
Want a variation? Lock your favorite midnight colors in the AI Color Palette generator and shuffle the rest, or grab exact colors from a photo with the Image Color Picker.
A very dark navy or gray such as #0b132b or #121212 is easier on the eyes than pure black. Use off-white or light silver-blue for text instead of pure white.
The main midnight palette (Midnight Blue) is Midnight #0B132B, Deep Navy #1C2541, Ink Blue #3A506B, Moon Teal #5BC0BE, Moon Silver #E0E6ED.
This page has 3 midnight palettes in total, each with HEX, RGB, HSL and CMYK values you can copy with one click.
Midnight on Moon Silver has a contrast ratio of 14.6:1 and passes WCAG AAA for normal text.
The contrast section above lists every pair that passes. Check a whole palette at once with the Accessible Color Palette tool.
Choose the palette, open Export and pick Procreate (.swatches), Adobe ASE, Photoshop ACO or Figma variables, then click Download.
Open the .swatches file on your iPad, load the ASE in the Swatches panel, or import the JSON as Figma variables. CSS, SCSS, Tailwind and GIMP formats are there too.
Yes. Colors cannot be owned, so you can use every palette here in personal and commercial work - logos, websites, prints and products - with no attribution needed.
Need a matching icon? Turn your logo into a favicon with the Favicon Generator.