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 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.

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.

How to Decide, Step by Step
Four steps, and the first one settles it for most small sites.

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.

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.

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.

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.

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.

Dark Mode Web Design Tools
| Tool | What it settles |
|---|---|
| Browser rendering settings | What your site does when the system asks for dark, with no code |
| Contrast checker | Whether each dark theme pairing meets the WCAG threshold |
| Design tool theme variables | Two values per colour, kept together instead of duplicated |
| Colour blindness simulator | Whether 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.

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.

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.

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.









