InstantPalette

Dark mode color palettes

Twelve working interface sets: a background, a raised surface, a border or muted tone, an accent and readable text.

Carbon Mint

Code editors and dashboards: neutral charcoal layers, a thin gray hairline, off-white text, and mint for focus and active states.

Strongest text pair: #EDEDED on #121212, 16.0:1.

Midnight Ledger

Banking or analytics screens, navy throughout, with slate blue borders and a light blue link at 7.7:1 on the background.

Strongest text pair: #E6EDF7 on #0B1220, 15.8:1.

Low Lamp

Bedtime reading apps: tan text at 11.2:1 instead of white, warm brown panels, and a soft orange bookmark or progress bar.

Strongest text pair: #DCCBB4 on #1C1613, 11.2:1.

Violet Console

Music and streaming tools, where muted violet captions still read at 5.1:1 and lavender picks out the playing track.

Strongest text pair: #EFEBF8 on #17131F, 15.5:1.

Forest Terminal

Command line themes with mint green output, amber warnings or prompts, and forest borders around each split pane.

Strongest text pair: #B9F5C6 on #0B1510, 15.0:1.

Slate Reader

Documentation and news, the lightest background of the twelve, with softened gray text at 11:1 and pale blue links.

Strongest text pair: #D3DAE1 on #1F242A, 11.0:1.

Coral Studio

Photo and video editors that need obvious panels: the raised gray is clearly lighter, and coral marks the selected tool.

Strongest text pair: #F4F2F1 on #141416, 16.4:1.

Brass Dial

Watch faces, players and television apps on a ground just above black, with brass controls and warm ivory numerals.

Strongest text pair: #E9E3D2 on #0B0B0A, 15.3:1.

Petrol Dash

Vehicle, energy or weather displays: teal-black surfaces, petrol gauge rings, and amber readings that stand out at 10.9:1.

Strongest text pair: #E3F1F1 on #08191C, 15.5:1.

Rose Quiet

Journaling or dating apps in plum-gray, with dusty rose timestamps at 5.5:1 and a light pink send button.

Strongest text pair: #F7EDF1 on #261A22, 14.6:1.

Lime Grid

Fitness and trading interfaces on cool gray, where lime fills take near-black labels at 13.6:1 and need no border.

Strongest text pair: #F0F2F3 on #15171A, 15.9:1.

Indigo Lab

Learning apps or game menus that want visible color in the background itself, with cyan actions over saturated indigo.

Strongest text pair: #EAF0FF on #11133A, 15.6:1.

What makes a palette dark mode

A dark interface is not an inverted light one. These backgrounds sit between about 0.15 and 0.26 in OKLCH lightness, above true black, so there is room to place a raised surface on top and still see its edge. Each set lists its roles in order: background, surface, border or muted tone, accent, text. The accents are light, 0.70 or higher, because a saturated mid blue that works on white sinks into charcoal.

The sets suit tools people look at for long stretches: editors, dashboards, readers, players, games. They are a weaker fit for form-heavy checkout pages or anything read outdoors, where a dark screen picks up reflections, so keep a light theme available. Every background here carries its text at 11:1 or more and its accent at 6.5:1 or more. That leaves headroom for thin weights and for the slightly lighter surface behind a card.

How to use these colors

Raise surfaces with lightness

Shadows barely show on dark backgrounds, so elevation has to come from a lighter fill. The OKLab distance between background and surface runs from 0.05 in the quietest sets to 0.10 in Coral Studio. Use a small step when panels already have borders and the large one when they do not. For a third level, such as a menu above a card, continue the same step upward.

Dim the text, not the hierarchy

Pure white on near black can look as if it glows, so the text swatches stop between 0.85 and 0.96 lightness. Use that tone for paragraphs and headings alike. For captions, pick a real muted tone instead of lowering opacity, since transparent text changes contrast on every surface. Violet Console and Rose Quiet include one that clears 4.5:1 on the background.

Give the accent one meaning

One accent per set is deliberate. Assign it to things people can act on, such as links, focus rings, toggles and the main button, and let plain text carry everything else. On a filled button, put the background color inside it: near black on mint #5EEAC0 measures 12.4:1, while white on the same mint stays under 1.5:1. Errors and warnings need their own colors and an icon.

Questions

What is the best background color for dark mode?

A near black between about 0.15 and 0.26 OKLCH lightness, for example #121212, #0B1220 or #1F242A. Neutral gray is the safest for photos and charts, while a slight blue, green or brown tint gives the interface character. Pure #000000 works too, but it leaves no room for anything darker underneath your surfaces.

Should dark mode text be pure white?

It can be, but a slightly dimmed tone looks less stark in long passages. White on #121212 is 18.7:1, far above the 7:1 that WCAG asks for at its strictest level. #EDEDED on the same ground is still 16:1, and the tan text in Low Lamp at 11.2:1 is gentler again.

How do I turn a light palette into a dark one?

Keep the hues and rebuild the lightness. Choose a background near 0.20, move surfaces up in small steps, and lighten each brand color until it passes 4.5:1 against the background. Every accent on this page sits at 0.70 lightness or higher. Do not simply invert hex codes: inversion swaps the hue, so orange turns blue.

Do dark mode colors need different contrast rules?

No. WCAG uses the same ratios in both themes: 4.5:1 for normal text, and 3:1 for large text and for interface parts such as input borders. The dark border tones in these sets fall below 3:1, so do not rely on them alone to show a field. Give inputs a surface fill, a label and a visible focus ring.