Facebook Dark Color Palette
The official color guide for Facebook Dark. Optimized for social, accessibility, and modern UI design.
Introduction
Facebook Dark isn't just a color scheme; it's a standard in the social community. Engineered by Meta in 2020, this palette addresses the specific needs of developers and designers working in low-light environments.
With a primary background of #18191a, 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 Facebook Dark effectively.
Color Analysis
A breakdown of the verified hex codes and their specific roles in the interface.
| Preview | Role | Hex | RGB |
|---|---|---|---|
| Background | #18191a |
24, 25, 26 | |
| Surface | #242526 |
36, 37, 38 | |
| Accent | #e4e6eb |
228, 230, 235 | |
| Muted | #b0b3b8 |
176, 179, 184 |
Adoption & Psychology
Ergonomics
Using #18191a reduces blue light exposure by approximately 30% compared to standard white backgrounds, making it ideal for the 45% of developers in Brazil who code at night.
Accessibility
The contrast ratio between the primary text and background typically exceeds 7:1 (WCAG AAA), ensuring that Facebook Dark is legible for users with varying visual abilities.
Implementation Guide
Copy-paste these snippets to instantly deploy Facebook Dark in your project.
CSS Variables
:root {
/* Facebook Dark Variables */
--bg-primary: #18191a;
--bg-surface: #242526;
--text-main: #3a3b3c;
--accent: #e4e6eb;
}
Tailwind Config
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'facebook-dark': {
base: '#18191a',
surface: '#242526',
accent: '#e4e6eb',
}
}
}
}
}
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.