Skip to content
ColorArchive
Dark Mode
Search intent: dark mode color palette design UI dark theme

Building a Dark Mode Color Palette: Beyond Inverting Light Mode

A practitioner's guide to dark mode color design — the specific lightness, saturation, and elevation decisions that make dark mode interfaces feel polished rather than merely dark.

Dark ModeUI DesignColor SystemsDesign Systems
Key points
Pure black (#000000) is almost never the right dark mode background — near-blacks in the 8-12% lightness range are more comfortable for extended use.
Dark mode saturation should be reduced 15-25% relative to light mode equivalents — fully saturated colors feel harsh and visually loud on dark backgrounds.
Elevation in dark mode is communicated through lightness steps, not shadow — each layer up adds 4-8% lightness to the background surface.

The elevation model in dark mode

Light mode interfaces communicate elevation through shadows — a card that floats above the background casts a shadow. In dark mode, shadows are less legible because the contrast between a dark surface and a darker shadow is low. Material Design introduced the concept of elevation through lightness in dark mode: higher surfaces (cards, dialogs, menus) use slightly lighter backgrounds than lower surfaces (page background). A typical dark mode elevation scale might run from 8% lightness at the base, 12% for cards, 16% for hover states, and 20% for active/elevated states. This creates a coherent spatial hierarchy without requiring visible shadows.

Background surface selection

The most common dark mode mistake is choosing pure black or near-pure-black as the base surface. Pure black creates maximum contrast with text and UI elements — which sounds desirable — but produces visual fatigue in extended reading sessions because the contrast is greater than the eye comfortably handles over time. OLED screens produce true black (pixels off), which can create a harsh 'floating elements' effect for content. The recommended range for dark mode base surfaces is 8-14% lightness, often with a slight warm or cool shift: slightly warm near-blacks feel cozy and editorial; slightly cool near-blacks feel technical and modern. The shift only needs to be 2-4 degrees of hue rotation from neutral to be perceptible.

Saturation reduction in dark mode

Colors that appear vibrant and pleasant in light mode can look harsh, glowing, or sickly in dark mode contexts. The reason is that highly saturated colors seen against a dark background trigger the same visual mechanism as neon signs — they appear to emit light rather than reflect it. For most brand and UI colors, reducing saturation by 15-25% in dark mode produces a more comfortable result while preserving hue recognition. The specific reduction depends on the original saturation level: very saturated colors (70%+) benefit from larger reductions; muted colors (20-30%) may need little or no adjustment. Dark mode text should use light tones with slightly reduced saturation — pure white (#FFFFFF) is too harsh for body text on near-black; a very light gray or warm near-white at 92-95% lightness is more comfortable.

Accent colors in dark mode

Accent colors — the brand color used for links, buttons, and interactive elements — behave differently in dark mode than light mode. A blue that looks appropriately confident on a white background may look electric and overwhelming on a dark surface. The adjustment is typically to increase the lightness of the accent slightly (shift from core value toward silk or bloom) and reduce saturation moderately. This maintains the hue identity while preventing the 'neon sign' effect. Simultaneously, ensure that lightened accent colors still pass contrast requirements against the dark background — WCAG 4.5:1 for normal text is harder to achieve with light accents on near-black than it seems. ColorArchive's contrast checker tests any combination.

Practical next step

Move from the guide into a concrete palette lane

Guides explain the use case. Collections prove the taste. Packs handle the export and implementation layer.

Related guides