Tithi Mondal

Guide5 min readUpdated

Dark Mode UI Design: A Practical Guide for Apps and Sites

Dark mode UI design explained: surface colours, contrast, images and when not to offer it. A practical guide for apps and websites built for Indian users.

By Tithi Mondal, UI/UX Designer

Dark mode is a colour scheme with light text on dark surfaces. Many phones now switch to it automatically in the evening, and users expect apps to follow. But a good dark mode UI design is a second design, not a filter. This guide covers surface colours, contrast, images, and the cases where you should not offer it at all.

Why people use dark mode

People choose a dark theme for comfort at night, for battery savings on some screens, or simply because they like the look. In India, where many people use their phones in the evening after work and often in a dim room, it is a common request.

It is not a better theme than light. It is a different one. Light vs dark mode is a matter of context: reading long text in bright daylight is often easier in light mode, while a media or trading app at night may suit dark. Let the user choose, and respect the phone's system setting by default.

Do not invert, redesign

The most common mistake is to swap white for black and black for white. The result is harsh, and colours that worked on white look wrong.

Build dark mode as its own set of colour tokens, which means named colours in your design file such as "surface", "text" and "primary" that change value in each theme. In Figma, variables or styles make this manageable: the components stay the same and the values switch.

Surface colours and depth

In light mode, we show depth with shadows. In dark mode, shadows barely show, so we use lighter surfaces for things that sit higher.

  • Avoid pure black for the main background. A very dark grey is easier on the eyes and avoids a harsh edge against bright text.
  • Raise cards by lightening them. The page background is darkest, a card is slightly lighter, a dialog or menu is lighter again.
  • Use thin borders sparingly to separate areas when the surfaces are close in tone.
  • Keep the steps small and consistent. Three or four surface levels are enough for most apps.

A dark theme with one flat black layer looks cheap and makes it hard to see what sits on top of what.

Dark theme colour and contrast

Colours behave differently on dark backgrounds. Strong saturated colours that look pleasant on white can vibrate and glow on dark.

  1. Soften the brand colour. Use a lighter, slightly less saturated version of your primary colour for buttons and links in dark mode.
  2. Do not use pure white for all text. Slightly off-white body text is more comfortable for long reading. Keep headings and key numbers brighter.
  3. Check contrast again. The same 4.5 to 1 target for body text applies in both themes. See accessibility in UI design for the checks.
  4. Rethink status colours. Red, green and amber need a dark-mode version that is still readable and does not rely on colour alone.
  5. Keep a clear hierarchy. Use two or three text brightness levels: strong, normal and muted. Muted text must still pass contrast.
ElementLight modeDark mode
Main backgroundWhite or very light greyVery dark grey, not pure black
CardsWhite with a soft shadowSlightly lighter grey, no shadow needed
Body textDark greySoft off-white
Primary buttonFull brand colourLighter, softer brand tone
DividersLight grey lineSubtle lighter line

Images, logos and illustrations

This is where dark mode breaks most often.

  • Logos with dark text can vanish. Prepare a light version of the logo, or place it on a light chip. If you are building a brand, plan for both versions from the start, as I describe in my logo design guide.
  • Photos usually work, but very bright photos can glare against dark surfaces. A slight dimming helps in some cases.
  • Illustrations with white backgrounds show as bright boxes. Use transparent backgrounds or make dark variants.
  • Icons should switch to a light tone. Single-colour vector icons make this easy.
  • Charts and maps need their own dark palette, not the light one.
  • Screenshots and product shots may need a subtle border so they do not float.

When not to offer dark mode

Dark mode costs design time, development time and testing, forever. Every new screen needs two checks. Sometimes the right answer is to wait.

Consider skipping it, for now, when:

  • You are building a first version and need to launch quickly. A clean, well-tested light theme is better than two rough ones.
  • Your product depends on exact colour, such as a design tool, a print preview or a food photo menu where the true colour of the dish matters.
  • Your users mostly read long forms or documents in daylight, such as tax or loan forms. Light is often easier there. This is a judgement, not a rule, so ask your users.
  • You have no budget to test every screen, email template and pop-up in both themes.

If you do not offer it, make sure the app does not half-switch when the phone is in dark mode, with dark system bars and a bright interior.

Test it on real devices

OLED and LCD screens show dark colours differently, and cheap panels can crush dark greys into one flat block. Check your surface steps on at least one budget phone and one better phone, in a dark room and in daylight. If two surface levels look identical on the cheap phone, widen the gap between them. Also check the moment of switching: the app should not flash white when it opens, and the splash screen, keyboard and system bars should match the theme.

How I approach it

When a client asks for dark mode, I first agree on scope: which screens, which components, and whether it follows the phone setting or has a manual switch. Then I define the colour tokens, build the components once, and review every screen in both themes before hand-off. If you want to discuss a theme for your product, see my mobile app design service or get in touch.

Frequently asked questions

Should I use pure black for dark mode?

Usually not. A very dark grey is easier on the eyes and lets you show depth with slightly lighter surfaces. Pure black is sometimes used on certain screens, but test it for glare.

Does dark mode save battery?

On some screen types, dark pixels use less power, so it can help a little. Do not promise it to users as a fixed benefit, because it depends on the phone.

Should dark mode follow the phone setting or have a switch?

Following the system setting by default is the best start. Add a manual choice in settings so people can override it.

Is dark mode worth it for a small app?

It depends on your users and budget. If you cannot test every screen in both themes, a polished light theme is the better first step.

Have a product in mind? Let us design it properly.

Tell me what you are building. I will reply with questions, a rough timeline and a quote.