Dark Mode Website Design: When It Helps and When It Hurts

TL;DR: Dark Mode

  • Treating dark mode as a background swap is the most common mistake: every layer of the visual stack, from body text and links to borders and form controls, needs its own contrast decision.
  • It suits portfolios and brands built around deep palettes; it rarely suits long-form content or trust-dependent service pages.
  • Pure black and pure white together produce harsh visual contrast; layered dark surfaces handle sustained reading better.
  • Weak hierarchy in the light version becomes more visible in dark mode, not less.

Dark mode is a parallel color system, not a background swap. A business choosing dark mode during a redesign isn’t picking an aesthetic option; it’s committing to a full color rebuild that must be audited from scratch. Brand colors that worked on white may disappear on charcoal. Links that read clearly in light mode may fall below the contrast threshold WCAG 2.2 requires. Every color decision a site carries from its light theme gets stress-tested the moment that background changes.

๐Ÿ”Š Listen: Dark Mode 4 min listen

What does dark mode actually change on a website?

Dark mode requires separate contrast decisions for every layer of the visual stack: body text, headings, links, borders, input fields, focus rings, and SVG artwork. Those relationships don’t invert automatically. The web.dev color-scheme guide gives a concrete example: standard link blue sits at only a 2.23:1 contrast ratio on black, well below the 4.5:1 minimum for normal text that WCAG 2.2 contrast guidance requires. That link becomes an obstacle for users with low vision.

Every element starts from a light-canvas default.

The browser’s native controls add a second problem. Scrollbars, checkboxes, date pickers, and the default canvas background are themed by the browser and won’t follow custom CSS unless a developer explicitly declares the color-scheme property on :root. The Chrome dark-mode guide explains how that declaration brings native controls in line with the custom theme. Without it, a bright input field appears inside an otherwise dark layout. No amount of custom CSS will reach it.

When does dark mode help a small-business website?

Dark mode suits contexts where the product, the content, or the audience belongs to a low-luminance world. Photography portfolios, video production studios, software products, luxury goods with deep brand palettes, and entertainment brands are contexts where a dark interface extends a brand’s existing visual language rather than contradicting it. When the brand identity is built around high-contrast minimal aesthetics, dark mode reinforces that direction. Photography with dark tonal ranges reads more powerfully when the background recedes rather than competing with the subject.

Mood and function are separate questions.

The qualifying factor is whether the existing palette was designed with depth in mind. A site anchored to warm neutrals and pastels will find those colors lose legibility and coherence against a dark surface. The industry habit of applying dark mode to any brand that wants to appear modern, regardless of palette compatibility, is how a pastel CTA button ends up unreadable on a dark card.

Wellโ€ฆ design tip: Before committing to dark mode, check every brand color against #121212 using a contrast tool. If the majority fail the 4.5:1 threshold for normal text, the palette needs rebuilding before the theme does.

When does a dark color scheme hurt readability, accessibility, or trust?

Long-form content, service descriptions, and credibility signals such as certifications and testimonials are where dark mode most often damages the reading experience. UX research broadly suggests that for many users, dark text on a light background remains more legible during sustained reading, particularly in well-lit environments; the Nielsen Norman Group’s dark-mode article is one documented example of that pattern. A service-based business that depends on credibility and clear communication trades readability for atmosphere when it defaults visitors into a dark interface. Visual drama and professional trust are different design outcomes.

Dark mode hid the contact form.

Photography-heavy businesses face a separate asset problem. Product photos are captured and edited for light backgrounds. A white-background product shot placed on a dark surface looks ungrounded; a transparent logo with dark-colored letterforms becomes invisible. These aren’t edge cases; they’re the visual core of a service or e-commerce site, and each requires a reworked asset, not a CSS rule change.

How should a redesign build a usable dark mode color system?

A well-designed dark palette uses distinct surface elevations rather than a single flat black. Pure black against pure white produces halation, a visual effect where bright text appears to blur at its edges against a very dark field, making sustained reading uncomfortable. A more considered system uses a base background near #121212, lifts card surfaces to #1E1E1E, sets borders at #2C2C2C, and uses off-white body text at #E0E0E0 rather than pure white.

  • Background: #121212 (near-black)
  • Surface: #1E1E1E (dark gray)
  • Body text: #E0E0E0 (off-white)
  • Accent/CTA: #90CAF9 (light blue)
  • Border: #2C2C2C (muted dark gray)
  • Muted text: #9E9E9E (medium gray)
How should a redesign build a usable dark mode color system?Background#121212near-blackSurface#1E1E1Edark grayBody text#E0E0E0off-whiteAccent/CTA#90CAF9light blueBorder#2C2C2Cmuted dark grayMuted text#9E9E9Emedium grayAaText on background: 14.2:1PASSAaAccent on background: 10.7:1PASS
Contrast computed with the WCAG 2.x formula (4.5:1 body text, 3:1 large text and UI).

The prefers-color-scheme media query, documented at MDN Web Docs, lets a stylesheet serve dark-theme values when a visitor’s operating system is set to dark mode without requiring a manual toggle. Using CSS custom properties to hold all color tokens means both themes update from one source, rather than two separate style blocks.

Two themes, one source of truth.

Wellโ€ฆ design tip: Declare color-scheme: light dark; on :root so browsers theme scrollbars, checkboxes, and input backgrounds consistently. Without it, browser chrome stays light inside an otherwise dark layout.

Should your website offer dark mode or stay light?

A business that can’t commit to maintaining two complete, contrast-checked color systems should launch light and treat dark mode as a future release. Forcing dark mode as a default assumes the visitor’s context matches the designer’s, which rarely holds. A visitor reviewing a service description in a bright office on a mid-range display may find the dark interface harder to process than a light one. And a user-controlled toggle, while respectful of individual preference, requires both themes to be genuinely designed and maintained, not one being a rough inversion of the other after every content update.

Half-finished dark themes are worse than none.

ApproachBest whenMain trade-off
System preference (prefers-color-scheme)Both themes are fully designed and maintainedRequires a complete parallel color system
User-controlled toggleAudience has strong, documented dark-mode demandMust build and maintain two polished themes
Forced dark defaultBrand is explicitly dark-first (portfolio, media)Removes visitor choice; hurts light-preference users
Light onlyTrust-heavy service sites, long-form contentMisses users who rely on dark mode for comfort
Dark mode implementation approaches compared by context and trade-off.

Key Takeaways

  • WCAG 2.2 contrast compliance in dark mode requires individual element checks; every link, muted text value, border, and interactive control must pass 4.5:1 for normal text, independent of the background.
  • Transparent logos and product photos prepared for light backgrounds need purpose-built dark-background versions; a stylesheet inversion cannot fix a visual asset problem.
  • Respecting the system preference via prefers-color-scheme is less invasive than forcing a dark default, but still requires a fully maintained parallel theme rather than a CSS override.
  • Long-form and trust-heavy pages carry additional readability risk in dark mode, particularly for visitors in bright environments or using displays without color calibration.
  • Declaring color-scheme on :root is a separate requirement from custom CSS; without it, native browser controls will not follow the custom dark theme.

Dark mode is a design commitment. It requires a parallel color system, rebuilt assets, and a full accessibility audit. For businesses whose brand, content, and audience support it, that investment produces a coherent experience across both themes. For businesses whose light version already carries weak hierarchy or poor contrast, a dark theme won’t resolve those problems; it will render them in two color systems instead of one. Build the light version correctly first, then return to dark mode as its own complete project.

Frequently Asked Questions

Is dark mode good for a small-business website?
It depends on brand, content type, and audience context. Dark mode suits media-heavy brands and deep-palette identities. It tends to undermine trust and readability on service pages and content-heavy sites, especially where photographs and logos were prepared for light backgrounds and haven’t been adapted.
Does dark mode make a website more accessible?
Not automatically. Accessibility depends on contrast ratios across every individual element, including links, muted text, borders, and form controls. A dark background with unadjusted link or border colors can produce lower contrast than the original light version, creating a compliance failure rather than an improvement.
Should a website use pure black for dark mode?
Pure black with white text passes contrast requirements but creates halation, where bright text appears to blur against an extremely dark field. A near-black surface around #121212 reduces that visual effect and improves comfort during extended reading while remaining compliant with WCAG 2.2 contrast standards.
How can a business test whether dark mode works on its website?
Set the operating system to dark mode and load the site on multiple devices. Check contrast individually on body text, links, muted text, borders, input fields, and focus states. Also review transparent logos, product images, and SVG icons in the dark context, since those assets frequently fail when the background changes.
Should dark mode be automatic or controlled by the visitor?
Respecting the visitor’s system preference via prefers-color-scheme is the least intrusive option, since it follows an explicit device setting. A user-controlled toggle adds value only when both themes are fully designed and tested, allowing visitors to override their system setting on that specific site without changing device-wide preferences.

This article is general guidance and is not a prediction of results for your site or market. Tools, plugins and platform behaviour change over time, so confirm details against the current documentation.

Dev Art Studios

Dev Art Studios is an independent publication about website design decisions: color schemes, typography, layout and UX, branding, e-commerce design and redesign. Every guide starts from a real choice a site owner has to make, lays out the trade-offs in plain language, and backs each technical claim with a named source such as WCAG, Google Search Central, Nielsen Norman Group or the platform's own documentation. The aim is simple: finish a post knowing what to change, what to leave alone, and why.

Related Posts

Accent Colors on a Website: Where One Bright Color Belongs

Learn where accent colors belong on a website, which elements should stay neutral, and what color overuse reveals about your site’s underlying structure.

Color Contrast for Websites: Readable Text Before Pretty Text

Color contrast ratios determine whether real users can read your site. Learn what WCAG AA requires, which elements need checking, and when a contrast fix becomes a redesign.

You Missed

Illustration vs Photography on a Website: Choosing an Image Style

Illustration vs Photography on a Website: Choosing an Image Style

Stock Photos vs Custom Photography for a Small Business Site

Stock Photos vs Custom Photography for a Small Business Site

Image Style Consistency: Why Mixed Stock Photos Hurt a Website

Image Style Consistency: Why Mixed Stock Photos Hurt a Website

Accent Colors on a Website: Where One Bright Color Belongs

Accent Colors on a Website: Where One Bright Color Belongs

Dark Mode Website Design: When It Helps and When It Hurts

Dark Mode Website Design: When It Helps and When It Hurts

White Space in Web Design: Why Empty Space Is Not Wasted Space

White Space in Web Design: Why Empty Space Is Not Wasted Space