macOS Dark Mode Color Palette
The official color guide for macOS Dark Mode. Optimized for system, accessibility, and modern UI design.
Introduction
macOS Dark Mode isn't just a color scheme; it's a standard in the system community. Engineered by Apple in 2018, this palette addresses the specific needs of developers and designers working in low-light environments.
With a primary background of #1e1e1e, it eliminates the harsh contrast of pure black while providing deep immersion.
This guide covers the technical specifications, psychology, and implementation details you need to use macOS Dark Mode effectively.
Color Analysis
A breakdown of the verified hex codes and their specific roles in the interface.
| Preview | Role | Hex | RGB |
|---|---|---|---|
| Background | #1e1e1e |
30, 30, 30 | |
| Surface | #2c2c2c |
44, 44, 44 | |
| Accent | #007aff |
0, 122, 255 | |
| Muted | #ececec |
236, 236, 236 |
Adoption & Psychology
Ergonomics
Using #1e1e1e reduces blue light exposure by approximately 30% compared to standard white backgrounds, making it ideal for the 45% of developers in Germany who code at night.
Accessibility
The contrast ratio between the primary text and background typically exceeds 7:1 (WCAG AAA), ensuring that macOS Dark Mode is legible for users with varying visual abilities.
Implementation Guide
Copy-paste these snippets to instantly deploy macOS Dark Mode in your project.
CSS Variables
:root {
/* macOS Dark Mode Variables */
--bg-primary: #1e1e1e;
--bg-surface: #2c2c2c;
--text-main: #3a3a3a;
--accent: #007aff;
}
Tailwind Config
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'mac-os-dark': {
base: '#1e1e1e',
surface: '#2c2c2c',
accent: '#007aff',
}
}
}
}
}
Frequently Asked Questions
Its balance of saturation and brightness makes it unique. Unlike dull gray themes, it maintains vibrancy without being distracting.
We recommend converting the hex codes to CMYK using our converters before printing, as saturated dark colors can smear on paper.