Rise Layouts logo Rise LayoutsDesign and layout, explained clearly
Color

Dark Mode Color Palette Design for Beginners

Most first attempts at dark mode look the same: pure black background, pure white text, and the brand blue copied straight from the light theme. On a phone at night it feels like staring at a flashlight through a keyhole.

Dark interface mockup showing layered grey surfaces, off white text and a softened blue accent button

Most first attempts at dark mode look the same: pure black background, pure white text, and the brand blue copied straight from the light theme. On a phone at night it feels like staring at a flashlight through a keyhole. The text shimmers, the blue looks muddy, and nobody can tell a card from the page behind it.

A good dark mode color palette is not the light palette flipped upside down. It is a separate set of decisions about surfaces, text and accents, built so the screen feels calm in a dim room. I teach this to beginners in about an hour, and the steps below are the same ones I use on real projects.

Why Inverting a Light Palette Fails

When you invert colors, you keep the same contrast relationships but lose the cues people rely on. In a light interface, shadows tell you which panel sits on top. On a black background, shadows disappear, so everything flattens into one plane.

Saturated colors also behave differently. A bright blue at full strength on white looks crisp. The same blue on near black vibrates at the edges, especially for the roughly one in three adults with some degree of astigmatism. Text in that color becomes tiring to read after a few lines.

Finally, pure white text on pure black has a contrast ratio of 21 to 1, the maximum possible. That sounds ideal, but for long reading it causes halation, a glowing blur around letters. More contrast is not always better.

Building a Dark Mode Color Palette From Surfaces Up

Start with the background, not the brand color. Pick a dark grey with a faint tint of your brand hue. A value around 6 to 10 percent lightness works well, for example a blue grey such as #121418 instead of #000000.

Then create three or four surface levels, each a little lighter than the last. In dark mode, lighter means closer to the viewer, which replaces the job shadows did in the light theme.

LayerExample valueUsed for
Base#121418Page background
Surface 1#1A1D23Cards and panels
Surface 2#23272FMenus, popovers, raised cards
Surface 3#2C313ADialogs and the top layer

Keep the steps small and even, roughly 3 to 4 percent lightness apart. Big jumps make the interface look patchy; tiny ones make it look flat.

Borders help where surfaces sit side by side at the same level, such as a list of cards. A one pixel line at about 15 percent lightness, slightly above the card itself, separates items without the heavy outlines beginners often add. If you find yourself needing borders everywhere, your surface steps are probably too close together, so widen them before reaching for more lines. In my own projects, fixing the surface scale usually removes half the borders I thought I needed.

Choosing Text Colors That Do Not Glare

Use off white for main text, something like #E6E8EB, and two dimmer greys for secondary and disabled text. This gives you a clear reading order without reaching for bold weights everywhere.

  • Primary text: around 87 to 90 percent lightness, for headings and body copy.
  • Secondary text: around 65 to 70 percent, for labels and metadata.
  • Disabled text: around 40 to 45 percent, used sparingly.

Always check secondary text against your lightest surface, not just the base. Text that passes on #121418 can fail on a raised menu. Aim for at least 4.5 to 1 for normal text, as explained in our article on why contrast matters more than color choice.

Taming Accent and Brand Colors

Your accent color needs its own dark mode version. The usual fix is to raise lightness and lower saturation slightly. A brand blue at 50 percent lightness in the light theme might become 65 to 70 percent lightness in dark mode, with saturation reduced by 10 to 20 points.

Keep accents for meaning

In a dark interface, color stands out more, so a little goes a long way. Reserve the accent for primary buttons, links, focus rings and selected states. If every icon is tinted, nothing feels important.

Rework status colors too

Red, amber and green warnings need the same treatment. A pure red error banner on a dark surface looks alarming rather than informative. Use a softer red for text and an even darker, low saturation red for the banner background.

If you built your light palette from a photo, the same source can guide the dark one. Pull the shadow tones from the image for your surfaces, a method we walk through in building a color palette from a single photograph.

The Pure Black Debate

You will often read that you should never use pure black. I think that rule is slightly overstated. On phones with OLED screens, true black pixels switch off completely, which saves battery and looks striking in photo galleries or video players. For a media app, black can be the right call.

The rule holds for reading interfaces, though. Dashboards, articles, forms and settings screens are easier on the eyes with a dark grey base, and they leave room for lighter surfaces above. My compromise: use near black for interfaces built around text and data, and true black only where images or video fill most of the screen.

Testing Your Palette Like a Real User

Do not judge a dark palette on a bright monitor at midday. Check it the way people use it.

  1. Lower your screen brightness to about 30 percent and look at it in a dim room for five minutes.
  2. View it on at least one phone, ideally an OLED one, and one cheaper laptop screen.
  3. Run every text and surface pair through a contrast checker and record the ratios in a small table.
  4. Switch quickly between light and dark mode to check the brand still feels like the same product.
  5. Use a color blindness simulator on your status colors.

Store the final values as named tokens, such as surface-1 or text-secondary, rather than raw hex codes. That way the light and dark themes share names and only the values change.

FAQ

How many colors does a dark mode palette need?

For most small projects, about ten: one base, three surfaces, three text levels, one accent and two or three status colors. You can extend later.

Should dark mode use the same brand color as light mode?

Use the same hue but a lighter, slightly less saturated version. Keeping the hue preserves brand recognition while making it comfortable on dark surfaces.

Is dark mode better for accessibility?

Not automatically. Some people with light sensitivity prefer it, while others with astigmatism find dark mode harder to read. Offering both and respecting the system setting is the safest approach.

Your Next Step

Take one screen you have already designed, build the four surface levels and three text greys listed above, and test it at low brightness tonight. Fix contrast first, accents second. For more beginner friendly guides, browse our color section.

ST
Suki Tanaka

Suki covers type and color, translating design theory into practical choices anyone can apply.

More posts by Suki

More in Color

01doorganico 084goad 3hot8 4465456 after5internprogram ahandfulofblessings ahmadpc ahomcybersecurity allodialresources annodex antiquesandperiodcollectibles aotc asianworldkashmir beedlectrics bloggertemplatefree bluefeatheragency bodyweightsolution campaign08blog carfixadvisor catstreetcollective cbstvsports cnfanspurchasing committeeof500yearsofdignityandresistance covertopsdjs cs-kaiyuangame cuestacomunicaciontotal cxoutlet dancebetgame deskgearhub destinyvillastay detectmagazine di33 diamondsteelbuildings donmo dyanadropship emarsysfinance emimattl escapechan eskitarih evautoplay everythingweddings-orlando farmzone feedviewerapp foxstudiosscratch gamevui123 gleasongrade greetingsday hacklabasu haskell iw-kaiyun jagoanproperti jilidskripsi joltbusinessfinance juegodepokergratis juegospucca kaeru-festival latestmehndidesigns lestanzediottaviano litemagazines localcommunityhero lustrsazan mariashebets menswheels newwebstechs1 nikkit ootheday oxigenvpn plurfitness prefetial probudgetcarpetcleaning psychicmrsmartin pyaten qvantor rejoignezlogis rexzbot ruchin rwxqsgd5 sakaltime shibiaowang shop-bot skrtips spotlesshaven strcoding tetapatrium topselller uneplanteartificielle vipertechcr webtech1223411 wo-kygaming yamaha-mekar yeknava yoybuysheets zenunwa yamaha-mekar jilidskripsi ankertoto ankertoto ankertoto