Dark Mode is Not a Toggle

Category :

Accessibility

Why simply inverting colors fails. Understanding the physics of OLED screens, color desaturation, and elevation through lightness.

Elena Vance
Head of Brand Strategy

Read Time :

6 Mins

The Physics: The "True Black" Fallacy

We rarely, if ever, use #000000 (True Black) in interface design.

The Physics: On OLED screens, True Black pixels are turned off completely. When you scroll a dark grey element over a black background, the pixels have to "wake up" to change color. This lag creates a visual artifact called OLED Smearing—ugly purple trails that follow your content.

The Design: We use Dark Grey (#121212) as our base surface. This mitigates smearing. It also provides better contrast for shadows. In the physical world, nothing is truly absolute black. Dark Grey feels more natural and puts less strain on the eyes because the contrast ratio with white text is lower (and safer) than the extreme 21:1 ratio of pure Black/White.

The Reality: Beyond the Invert Button

Adding "Dark Mode" to a product is often treated as a trend. Developers often just invert the color palette—white becomes black, black becomes white—and call it a day. This is lazy design, and it leads to poor usability.

Dark mode is not just a "theme"; it is a utility designed for specific contexts: low-light environments, battery saving on OLED screens, and reducing eye strain during long sessions. It requires a completely separate color logic and hierarchy.

If you simply invert colors, you end up with harsh contrast that causes eye fatigue. To design a true Dark Mode, we must understand the physics of light and the biology of the eye.

The Method: Elevation Through Lightness

In Light Mode, we use shadows to show depth. A card floats above the background because it casts a drop shadow. In Dark Mode, shadows are invisible. So, how do we show that a modal is sitting on top of the page?

The Material Design Rule: We swap shadows for Lightness. The closer an object is to the user (the higher its Z-index), the lighter it becomes.

  • Background: 0% Lightness

  • Card: 5% Lightness (Level 1)

  • Modal: 12% Lightness (Level 2)

This creates a sense of depth without relying on shadows. It mimics how light works in a dimly lit room—objects closer to the light source appear brighter.

The Color: Desaturation for Comfort

Colors behave differently on dark backgrounds. A saturated "Royal Blue" (#0000FF) that looks great on white text will "vibrate" visually against a dark background. This phenomenon causes eye strain and makes the text hard to read.

The Fix: We must programmatically desaturate and lighten our accent colors for Dark Mode. We take the brand's primary color and mix it with 40% white to create a pastel variant.

For example, a deep navy blue brand color becomes a soft slate blue in Dark Mode. This maintains the brand identity while meeting WCAG AA accessibility standards for contrast.

Sign up for newsletter & Upcoming Articles

Dark Mode is Not a Toggle

Category :

Accessibility

Why simply inverting colors fails. Understanding the physics of OLED screens, color desaturation, and elevation through lightness.

Elena Vance
Head of Brand Strategy

Read Time :

6 Mins

The Physics: The "True Black" Fallacy

We rarely, if ever, use #000000 (True Black) in interface design.

The Physics: On OLED screens, True Black pixels are turned off completely. When you scroll a dark grey element over a black background, the pixels have to "wake up" to change color. This lag creates a visual artifact called OLED Smearing—ugly purple trails that follow your content.

The Design: We use Dark Grey (#121212) as our base surface. This mitigates smearing. It also provides better contrast for shadows. In the physical world, nothing is truly absolute black. Dark Grey feels more natural and puts less strain on the eyes because the contrast ratio with white text is lower (and safer) than the extreme 21:1 ratio of pure Black/White.

The Reality: Beyond the Invert Button

Adding "Dark Mode" to a product is often treated as a trend. Developers often just invert the color palette—white becomes black, black becomes white—and call it a day. This is lazy design, and it leads to poor usability.

Dark mode is not just a "theme"; it is a utility designed for specific contexts: low-light environments, battery saving on OLED screens, and reducing eye strain during long sessions. It requires a completely separate color logic and hierarchy.

If you simply invert colors, you end up with harsh contrast that causes eye fatigue. To design a true Dark Mode, we must understand the physics of light and the biology of the eye.

The Method: Elevation Through Lightness

In Light Mode, we use shadows to show depth. A card floats above the background because it casts a drop shadow. In Dark Mode, shadows are invisible. So, how do we show that a modal is sitting on top of the page?

The Material Design Rule: We swap shadows for Lightness. The closer an object is to the user (the higher its Z-index), the lighter it becomes.

  • Background: 0% Lightness

  • Card: 5% Lightness (Level 1)

  • Modal: 12% Lightness (Level 2)

This creates a sense of depth without relying on shadows. It mimics how light works in a dimly lit room—objects closer to the light source appear brighter.

The Color: Desaturation for Comfort

Colors behave differently on dark backgrounds. A saturated "Royal Blue" (#0000FF) that looks great on white text will "vibrate" visually against a dark background. This phenomenon causes eye strain and makes the text hard to read.

The Fix: We must programmatically desaturate and lighten our accent colors for Dark Mode. We take the brand's primary color and mix it with 40% white to create a pastel variant.

For example, a deep navy blue brand color becomes a soft slate blue in Dark Mode. This maintains the brand identity while meeting WCAG AA accessibility standards for contrast.

Sign up for newsletter & Upcoming Articles

Dark Mode is Not a Toggle

Category :

Accessibility

Why simply inverting colors fails. Understanding the physics of OLED screens, color desaturation, and elevation through lightness.

Elena Vance
Head of Brand Strategy

Read Time :

6 Mins

The Physics: The "True Black" Fallacy

We rarely, if ever, use #000000 (True Black) in interface design.

The Physics: On OLED screens, True Black pixels are turned off completely. When you scroll a dark grey element over a black background, the pixels have to "wake up" to change color. This lag creates a visual artifact called OLED Smearing—ugly purple trails that follow your content.

The Design: We use Dark Grey (#121212) as our base surface. This mitigates smearing. It also provides better contrast for shadows. In the physical world, nothing is truly absolute black. Dark Grey feels more natural and puts less strain on the eyes because the contrast ratio with white text is lower (and safer) than the extreme 21:1 ratio of pure Black/White.

The Reality: Beyond the Invert Button

Adding "Dark Mode" to a product is often treated as a trend. Developers often just invert the color palette—white becomes black, black becomes white—and call it a day. This is lazy design, and it leads to poor usability.

Dark mode is not just a "theme"; it is a utility designed for specific contexts: low-light environments, battery saving on OLED screens, and reducing eye strain during long sessions. It requires a completely separate color logic and hierarchy.

If you simply invert colors, you end up with harsh contrast that causes eye fatigue. To design a true Dark Mode, we must understand the physics of light and the biology of the eye.

The Method: Elevation Through Lightness

In Light Mode, we use shadows to show depth. A card floats above the background because it casts a drop shadow. In Dark Mode, shadows are invisible. So, how do we show that a modal is sitting on top of the page?

The Material Design Rule: We swap shadows for Lightness. The closer an object is to the user (the higher its Z-index), the lighter it becomes.

  • Background: 0% Lightness

  • Card: 5% Lightness (Level 1)

  • Modal: 12% Lightness (Level 2)

This creates a sense of depth without relying on shadows. It mimics how light works in a dimly lit room—objects closer to the light source appear brighter.

The Color: Desaturation for Comfort

Colors behave differently on dark backgrounds. A saturated "Royal Blue" (#0000FF) that looks great on white text will "vibrate" visually against a dark background. This phenomenon causes eye strain and makes the text hard to read.

The Fix: We must programmatically desaturate and lighten our accent colors for Dark Mode. We take the brand's primary color and mix it with 40% white to create a pastel variant.

For example, a deep navy blue brand color becomes a soft slate blue in Dark Mode. This maintains the brand identity while meeting WCAG AA accessibility standards for contrast.

Sign up for newsletter & Upcoming Articles

FAQ

[ 07 Faq ]

Got Questions?

We believe in radical transparency. Here are the answers to the most frequent queries regarding our process, pricing, and partnership models.

Still have doubts ? Book a call now.

BBOOOOKK  CCAALLLL

What is your typical project timeline?

How does payment and billing work?

Do I need to have my content ready before we start?

Will I be able to edit the website myself?

What happens after the website launches?

FAQ

[ 07 Faq ]

Got Questions?

We believe in radical transparency. Here are the answers to the most frequent queries regarding our process, pricing, and partnership models.

What is your typical project timeline?

How does payment and billing work?

Do I need to have my content ready before we start?

Will I be able to edit the website myself?

What happens after the website launches?

FAQ

[ 07 Faq ]

Got Questions?

We believe in radical transparency. Here are the answers to the most frequent queries regarding our process, pricing, and partnership models.

Still have doubts ? Book a call now.

BBOOOOKK  CCAALLLL

What is your typical project timeline?

How does payment and billing work?

Do I need to have my content ready before we start?

Will I be able to edit the website myself?

What happens after the website launches?

Create a free website with Framer, the website builder loved by startups, designers and agencies.