Dark mode is a good option, but it is not a better default for reading. In the studies that Nielsen Norman Group (NN/g) reviewed, dark text on a light background usually scored better for reading tasks. The same review says readers should be able to switch, and one of its reasons is that some people simply prefer dark mode.
So the practical answer has two parts. Start with a clear light theme for long text. Then offer a dark theme that follows the reader's system setting and passes the same contrast rules.
What the review found
NN/g says it has not run its own research on dark mode. Its article reviews academic studies. It uses "light mode" for dark text on a light background, and "dark mode" for light text on a dark background.
Here is what the review reports:
- In a proofreading task and a test of fine detail, light mode did better. The gap grew as the text got smaller.
- In a quick-glance reading study, light mode won in a simulated night setting. In simulated bright daytime, the choice of mode made no significant difference.
- In that night setting, small text was much harder to read in dark mode than in light mode.
- In one study, people performed better in light mode yet did not report any difference in how readable the text felt.
These were lab tasks with short passages or one or two words. They do not settle how a long article reads on your page. They do suggest that small text is the weak spot of dark mode.
Where each mode fits
NN/g does not recommend switching to dark mode by default for a general audience. It does recommend letting users choose, especially on sites built for long reading.
| Situation | Starting point | Reason |
|---|---|---|
| Long article on a normal screen | Light, with a dark option | Reviewed studies favored light mode for reading tasks |
| Small text, such as captions or notes | Light, or larger dark text | The gap grew as text got smaller |
| A quick glance at a label or alert | Either, with generous size | No clear gap in bright daytime. Light mode led in the night test |
| A reader who prefers dark | Dark, on request | NN/g lists plain preference as a reason to offer it |
One side note from the same article: dark screens emit less light, so they might extend battery life.
Picking colors for a dark theme
The studies above say nothing about exact colors. A common design habit is to soften both: a very dark gray behind off-white text. Large areas of pure black with pure white text can look harsh, and a softer pair is easy to try.
Before: White text (
#FFFFFF) on a pure black background (#000000), thin gray captions at a small size.After: Off-white text (
#E8E8E8) on a very dark gray background (#1C1C1C), captions in the same off-white at the same size as the body text.
Whatever you choose, the contrast rule still applies. WCAG 1.4.3 asks for a ratio of at least 4.5:1 for normal text and 3:1 for large text. A pair that passes in light mode may fail once you flip it, so check both themes. The text contrast guide explains the numbers.
Keep these habits too:
- Do not shrink body text in dark mode. Small text is where it struggles most.
- Avoid thin gray text on a dark background. Use the main text color for captions.
- Check images, charts and form fields. A diagram drawn for white paper can vanish on dark gray.
Then test the theme the way readers will meet it. Open a real article, not a sample line. Look at it in a bright room and a dim one. Read a full page at the smallest size you use. If anything makes you squint, fix it before you publish.
Letting readers choose
Operating systems and browsers let people pick light or dark. MDN explains that the prefers-color-scheme media feature detects that request. A common pattern is a light design by default and an override inside a dark-preference rule.
MDN also describes the color-scheme property. Setting it to light dark on the root element tells the browser the page supports both. The browser then adapts the default colors of the canvas, scrollbars and form controls. MDN adds that a color-scheme meta tag in the page head, placed before any CSS, helps prevent a flash of the wrong colors while the page loads.
A visible switch on the page is a good extra. NN/g notes that people rarely change defaults, but they should be able to. For long-reading sites, it suggests the option should work on every screen, not only the home page.
Readers also have their own tools. Browser reading views often let you pick a background, as covered in the reader view guide. For talks, see the readable slides guide on choosing colors for a room.
Color is only part of readability. Short sentences and plain words carry a great deal too. The Easy-Read Editor can help you tighten a draft before you style it.
Common mistakes
- Forcing one theme on everyone. Follow the system setting and add a switch.
- Inverting colors and calling it done. Check contrast again in the new theme.
- Using pure black and pure white by habit. Try a softer pair.
- Shrinking text to fit a "sleek" look. Dark themes need generous sizes.
- Offering dark mode on one page only. Readers expect the choice to follow them across the site.
FAQ
Is dark mode better for reading at night?
The studies NN/g reviewed found light mode ahead even in a simulated night test. Preferences differ, though, so offer both and let the reader decide.
Does dark mode save battery?
NN/g says dark-mode displays emit less light and might extend battery life. It states this as a possibility, not a guarantee.
Should I follow the system setting or add my own switch?
Do both. Start from the system setting, then add a switch that remembers the reader's choice.
Can I make a dark theme by inverting my colors?
Not safely. Inverting can break contrast, images and form controls. Pick each color on purpose and test it.
Sources
Each page below was opened and read on the date shown. Where a fact comes from one of them, the guide says so.
- Dark Mode vs. Light Mode: Which Is Better? - NN/G Checked November 19, 2026
- prefers-color-scheme CSS media feature - MDN Checked November 19, 2026
- color-scheme CSS property - MDN Checked November 19, 2026
- Understanding Success Criterion 1.4.3: Contrast (Minimum) Checked November 19, 2026
This guide gives general information about readability. See the Disclaimer. To report a mistake, use the Corrections page.