Skip to content
Seed Lighthome

Dark Mode Websites: When Dark UX Works and When It Does Not

A dark mode website serves light text on a dark background. Research favours light mode for legibility, while dark mode helps some readers with impaired vision. People treat it as a system setting, so Seed Light matches that setting first and builds a toggle only where sessions are long.

Dark Mode Websites, beside a dark analytics dashboard overlapping the same dashboard in light mode.

Dark mode gets argued about as a taste question. The research treats it as a legibility question, and the two answers do not match.

Nielsen Norman Group has tested it twice, and the findings are more useful than either side of the argument usually admits.

A dark mode website is cheaper to get wrong than most design decisions, and the fix is mostly reading. This guide covers what the studies found, how people actually think about the setting, and how to decide whether your site needs one at all.

Key Takeaways

  • Light mode wins on legibility. For people with normal vision, in NN/g's reading of the research.
  • Dark mode helps some impaired vision. Cataracts and cloudy ocular media.
  • People treat it as a system setting. Like screen brightness, not a feature.
  • They barely notice when you skip it. NN/g's participants could not recall which sites lacked it.
  • Battery savings need an OLED screen. And depend heavily on brightness.

What a Dark Mode Website Is

A dark mode website serves light text on a dark background. Designers call that negative contrast polarity.

The ordinary arrangement, dark text on light, is positive polarity. Almost all reading research is about the difference between the two.

A dark mode website is therefore two products to keep in step. It is a second complete theme rather than an inverted copy. Every colour, shadow, border and graphic needs a value that works against the new background.

That is the part people underestimate, and it is where most dark themes break.

Brand colours rarely survive the move unchanged. A mid tone that reads well on white often sits too close to a dark background to separate from it.

Done properly, dark mode web design is two designs maintained together rather than one design with a filter applied.

The same page shown twice, once in light mode and once in dark mode
One layout, two themes. Every value in the second one is a decision.

People Think About It at the System Level

This is the finding that should shape the decision, and it comes from NN/g's 2023 study of 115 mobile users.

About a third preferred dark mode, a third preferred light, and a third used a mix. So there is no majority to design for.

More usefully, users think about dark mode as a system wide setting, similar to screen brightness, and expect everything to follow it automatically.

Many do not realise that an app can simply ignore the setting. Participants who preferred dark mode barely noticed when designs did not support it, and struggled to recall which ones.

That is worth holding onto when somebody asks for a toggle because a competitor has one. The competitor's visitors probably have not noticed either.

The authors doubt anybody would abandon a design for lacking it. That reframes the question from whether you need dark mode to whether you can afford to maintain it.

A phone settings screen with the display set to dark
Where people believe the decision is made. They set it once and forget it.

How to Decide, Step by Step

Four steps, and the first one settles it for most small sites.

Three named steps for adding dark mode, from respecting the setting to testing
Respect the setting, add a control only if asked, then test both.

1. Read what the research actually found

NN/g reports that visual performance tends to be better in light mode for people with normal vision.

In one study it cites, light mode won across all dimensions, for both visual acuity tasks and proofreading.

Eye strain is the reason people give, and it is the weakest one. Some research has failed to find a significant difference in reported eye strain or headaches between the two modes.

Preference and performance also come apart here. People report that dark mode feels easier while measured task performance says otherwise, so self reported comfort is a weak basis for the decision.

There is a counterweight. NN/g notes a study finding long term changes that may suggest a cost to light mode over time, and says the evidence on impaired vision is thinner but points one way.

So the honest summary is short. Better short term legibility in light, a real accessibility benefit for some readers in dark, and no settled verdict beyond that.

Two cards comparing what each mode is measurably better at
What the studies support, stated without either side winning.

2. Choose between matching the system and building a control

Matching the system setting is cheap and it is what people expect. Most of a dark mode website build is decided right here.

A single CSS media query tells the browser which theme to serve, and the reader never thinks about it.

A visible toggle is a different commitment. It needs a stored preference, a control that is reachable, and a second theme that is genuinely finished.

Build the toggle where readers spend long sessions or work at night. Developer tools, reading apps, dashboards, anything used after dark.

Whichever you choose, the system setting still has to be respected. A toggle that overrides the device without being asked is worse than no toggle.

Skip it for a brochure site, a local service business or a restaurant, where visits are short and the research says nobody will notice.

Two cards naming which kinds of site need a toggle and which can skip it
Long sessions earn a control. Short visits do not.

3. Build it so nothing disappears

NN/g's list of issues to avoid is really a list of things that vanish against a dark background.

Thin grey dividers and card borders go first, and the page structure goes with them. A slight colour difference fixes it.

Scrims and shadows stop reading as depth. Show depth with lighter elements sitting on darker ones instead.

Watch graphics with opaque white backgrounds, dark icons on dark panels, and logos that may need a stroke or a glow to survive.

And check anything scannable. NN/g names inverted QR codes and barcodes that some scanners cannot read.

An untested dark theme beside a tested one, with the faults marked
The left one was inverted. The right one was designed.

4. Check contrast in both themes

Contrast is not inherited. A pairing that passes in light mode tells you nothing about its dark counterpart.

WCAG success criterion 1.4.3 asks for 4.5 to 1 on body text and 3 to 1 on large text, at level AA.

Highly saturated colours are the usual failure. They look striking on a dark background and often miss the threshold.

Type weight matters more here too. NN/g flags very thin and very thick fonts as legibility problems in dark mode ui specifically.

Placeholder text, disabled states and form hints are the ones that get missed, because they are already the lowest contrast elements on the page.

Run every pairing you actually ship, in both themes, before anybody sees either.

A contrast check on dark background text showing both WCAG thresholds met
Both thresholds, checked against the dark background rather than inherited.

Dark Theme Website Ideas That Work Right Now

Five things worth doing whether or not you build a full theme.

  • Respect the system setting. One media query, and expectations are met.
  • Lighten your dividers. They are the first thing to disappear.
  • Check your logo file. An opaque white box is the usual culprit.
  • Desaturate your accent. Vivid colours miss contrast on dark.
  • Open your own site at night. With the phone set to dark.
A task screen listing dark mode fixes with the first two already ticked
Two done, three waiting. None of them is a second theme.

Dark Mode Web Design Tools

ToolWhat it settles
Browser rendering settingsWhat your site does when the system asks for dark, with no code
Contrast checkerWhether each dark theme pairing meets the WCAG threshold
Design tool theme variablesTwo values per colour, kept together instead of duplicated
Colour blindness simulatorWhether desaturated dark theme colours still separate

The browser setting is the fastest check available. Switch it and reload your own site before writing any code.

A dark theme website that was built with tokens can be adjusted in an afternoon. One built by hand cannot.

Theme variables are what keep the second design maintainable. Hard coded colours are how a dark theme rots.

A colour token in a design tool carrying a light swatch and a dark swatch
One token, two values. The alternative is finding every colour by hand.

Common Dark Mode Mistakes

  • Inverting instead of designing. Every value needs its own decision.
  • Pure black backgrounds. Harsh against white text, and shadows stop working.
  • Ignoring the system setting. People expect it to be obeyed automatically.
  • Saturated accents. Striking on dark, and often below the threshold.
  • Forgetting graphics. Opaque backgrounds and dark icons both disappear.
  • Shipping it untested. Dividers, shadows and logos fail quietly.
A diagnostics screen listing four dark theme faults, the first one outlined in red
Four faults, all of them invisible until somebody looks in the dark.

The Honest Verdict

Should website have dark mode is the wrong question for most small businesses.

Respecting the system setting costs almost nothing and meets the expectation the research describes.

A full toggle is a second design to build, test and maintain forever, and NN/g's participants could not remember which sites lacked one.

Dark mode ui work is genuinely satisfying, and that is exactly why it absorbs more time than its audience justifies.

Spend that effort where it is noticed. Nobody has ever left a site because it opened in light mode.

Three closing rules for dark mode shown as a short ticked list
Three rules. The middle one is the one that saves the budget.

FAQs

Is dark mode better for your eyes?

The evidence does not support it as a general claim. Nielsen Norman Group reports that some research has failed to find a significant difference in reported eye strain or headaches between the modes, while visual performance tends to be better in light mode for people with normal vision.

Does my website need a dark mode toggle?

Usually not. Matching the system setting meets what people expect, and NN/g found participants barely noticed designs that ignored dark mode and could not recall which ones they were. A toggle earns its cost on sites with long sessions, such as dashboards and developer tools.

Does dark mode save battery?

Only on OLED screens, where dark pixels draw less power, and the saving depends heavily on screen brightness. On an LCD the backlight stays on regardless of what is displayed, so the theme makes no meaningful difference to power use on those devices at all.

What contrast do dark themes need to meet?

The same thresholds as any other theme. WCAG success criterion 1.4.3 asks for 4.5 to 1 on body text and 3 to 1 on large text at level AA. Contrast is not inherited between themes, so every pairing has to be checked against the dark background separately.

Does dark mode affect SEO?

Google publishes no ranking factor relating to colour theme, so there is nothing to optimise. The parts that do matter, such as speed, mobile rendering and content quality, are unaffected by which theme you serve. Build it for readers rather than for search.

Conclusion

A dark mode website is mostly a legibility decision, argued about as a matter of taste.

Light mode reads better for most people in the short term, dark mode genuinely helps some readers, and the setting lives on the device rather than on your site.

If you still want to ask should website have dark mode, ask instead how long your readers stay.

Respect the system setting, keep contrast honest in both themes, and build a toggle only where sessions are long enough for anyone to care.

Then spend the saved effort on something a visitor would actually miss.

If you would rather hand it over, see how we approach web design.

Gregory Yeoh

About the author:

Founder of Seed Light

Gregory Yeoh founded Seed Light in 2017 and works across web design, SEO, paid advertising and automation for small businesses.

Follow the expert:LinkedIn

Let’s talk

Ready to get more
customers?

Tell us what you want to grow or improve. We’ll reply within one working day with honest advice, even if we do not work together.

Prefer email or a call? hello@seed-light.com · +60 16-411 9138

Results so far

Results from real clients

100+

Brands worked with

28,441+

Leads generated

$4.1M+

Sales generated for clients

Up to 13x

Return on Meta ad spend

Tallied from client ad accounts and store reports.

Monthly leads

We reply in one working day