Midnight Color Palette

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.

Midnight palette 1: Midnight Blue 5 colors

Random palette

See it in use

Roles picked automatically: background #0B132B, text #E0E6ED, buttons #5BC0BE.

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.

Midnight Blue · Adobe ASEMeasuring the file size...

All 3 midnight color palettes

Midnight palette 1 - Midnight Blue

Midnight #0B132B · Deep Navy #1C2541 · Ink Blue #3A506B · Moon Teal #5BC0BE · Moon Silver #E0E6ED

Midnight palette 2 - After Hours

Code Black #0D1117 · Panel #161B22 · Border Gray #30363D · Link Blue #58A6FF · Soft Text #C9D1D9

Midnight palette 3 - Moonlit

Night Purple #10002B · Deep Plum #240046 · Velvet #5A189A · Moon Orchid #9D4EDD · Lilac Glow #E0AAFF

About the midnight color palette

When to use it

Midnight palettes are great for dark-mode apps, developer tools, night photography sites, sleep apps and elegant evening events.

Mood and meaning

Quiet, deep and sophisticated. Navy-black is softer on the eyes than pure black, and silver-blue text glows gently on it.

Pairing tips

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.

Frequently Asked Questions

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.

Guides & Tutorials

All 45 guides
Tutorial How to Take a Full Page Screenshot of Any Website Nov 13, 2026 · 6 min read Read Tutorial How to Add a Favicon to Your Website (2026 Setup) Nov 13, 2026 · 4 min read Read Tutorial How to Remove the Background from a GIF (and Keep the Animation) Nov 13, 2026 · 4 min read Read