---
title: "Introducing Adaptive Dark Mode"
description: "Safari 27.3 beta adds Adaptive Dark Mode, which automatically darkens light websites that don't declare dark mode support via color-scheme."
url: "https://swe.quest/articles/introducing-adaptive-dark-mode-b5085c9f9c7b77a6"
canonical: "https://webkit.org/blog/18541/introducing-adaptive-dark-mode/"
source: "WebKit"
published: "2026-11-03"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 5
tags: ["browsers","css","accessibility","privacy"]
---

# Introducing Adaptive Dark Mode

A post on [WebKit](https://swe.quest/sources/webkit.md), published 2026-11-03, 5 min read, Announcement. Original: [https://webkit.org/blog/18541/introducing-adaptive-dark-mode/](https://webkit.org/blog/18541/introducing-adaptive-dark-mode/)

## Summary

Safari 27.3 beta adds Adaptive Dark Mode, which automatically darkens light websites that don't declare dark mode support via color-scheme. Inside WebKit, a luminosity-inverting color matrix preserves hue, text contrast targets WCAG 4.5:1, SVGs are recolored, simple black-and-white bitmap logos are detected via pixel histograms, and canvas, masks and mix-blend-mode are left alone or disabled. Sites can opt out with \`color-scheme: light only\`, improve results by using SVG, CSS colors and transparent images, or ship a custom dark mode using color-scheme, prefers-color-scheme and light-dark(). Websites cannot detect the transformation, because JavaScript sees the original authored colors, which avoids adding a fingerprinting signal.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Browsers](https://swe.quest/tags/browsers.md) (Web & mobile)
- [CSS](https://swe.quest/tags/css.md) (Web & mobile)
- [Accessibility](https://swe.quest/tags/accessibility.md) (Web & mobile)
- [Privacy](https://swe.quest/tags/privacy.md) (Security)

## Prerequisites

- CSS color-scheme ([easy posts on CSS](https://swe.quest/tags/css.md?difficulty=easy))
- prefers-color-scheme media query ([easy posts on Video & media](https://swe.quest/tags/video-media.md?difficulty=easy))

## Keywords

Safari, WebKit, Adaptive Dark Mode, color-scheme, light-dark(), WCAG

## Related posts

- [How The New York Times Games Team Delivered Accessible, Cross-Platform Dark Mode](https://swe.quest/articles/how-the-new-york-times-games-team-delivered-accessible-cross-platform-dark-mode-9c38944ca6dbae2c.md): NYT Open · 2026-04-16 · Medium · 7 min read · Mobile, Design systems, Accessibility, Swift
  The New York Times Games app shipped dark mode across Android, iOS and hybrid webviews by moving from hard-coded colors to semantic design tokens (e.g. "Background Primary" became "$bg-page") through a legacy-to-new color mapping.
- [Dark mode was never on our roadmap. Here’s how it got built.](https://swe.quest/articles/dark-mode-was-never-on-our-roadmap-here-s-how-it-got-built-65fcd1920934b974.md): Medium Engineering · 2026-10-22 · Medium · 17 min read · CSS, Frontend, Design systems, CDN & edge, AI for coding
  Medium shipped dark mode for its reader experience with essentially one engineer working between other projects, guided by three guardrails: keep it safe, keep it small, keep it concrete.
- [News from WWDC24: WebKit in Safari 18 beta](https://swe.quest/articles/news-from-wwdc24-webkit-in-safari-18-beta-f6c733f3db9a46ad.md): WebKit · 2024-06-10 · Medium · 34 min read · Browsers, CSS, Frontend
  Safari 18 beta ships 48 new web platform features, 18 deprecations and 174 bug fixes across iOS 18, iPadOS 18, visionOS 2 and macOS Sequoia betas.
- [Customizing Color Fonts on the Web](https://swe.quest/articles/customizing-color-fonts-on-the-web-74940ba780f012e8.md): WebKit · 2022-05-25 · Medium · 7 min read · CSS, Browsers, Frontend
  WebKit (Safari 15.4+) supports the CSS \`@font-palette-values\` at-rule, which lets authors select a color font's predefined CPAL palettes by index and override individual palette colors, then apply them with the \`font-palette\` property.
- [The golden rule of Customizable Select](https://swe.quest/articles/the-golden-rule-of-customizable-select-f338a360afa66726.md): WebKit · 2026-06-15 · Medium · 3 min read · Accessibility, CSS, Browsers, Frontend
  Customizable select, arriving in Safari 27, lets developers fully style \`\<select\>\` elements with custom arrows, icons and swatches while keeping native keyboard navigation and accessibility semantics.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
