Night Owl Color Palette
The official color guide for Night Owl. Optimized for coding, accessibility, and modern UI design.
Introduction
Night Owl isn't just a color scheme; it's a standard in the coding community. Engineered by Sarah Drasner in 2018, this palette addresses the specific needs of developers and designers working in low-light environments.
With a primary background of #011627, 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 Night Owl effectively.
Color Analysis
A breakdown of the verified hex codes and their specific roles in the interface.
| Preview | Role | Hex | RGB |
|---|---|---|---|
| Background | #011627 |
1, 22, 39 | |
| Surface | #0b2942 |
11, 41, 66 | |
| Accent | #c792ea |
199, 146, 234 | |
| Muted | #ecc48d |
236, 196, 141 |
Adoption & Psychology
Ergonomics
Using #011627 reduces blue light exposure by approximately 30% compared to standard white backgrounds, making it ideal for the 45% of developers in Japan who code at night.
Accessibility
The contrast ratio between the primary text and background typically exceeds 7:1 (WCAG AAA), ensuring that Night Owl is legible for users with varying visual abilities.
Implementation Guide
Copy-paste these snippets to instantly deploy Night Owl in your project.
CSS Variables
:root {
/* Night Owl Variables */
--bg-primary: #011627;
--bg-surface: #0b2942;
--text-main: #82aaff;
--accent: #c792ea;
}
Tailwind Config
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'night-owl': {
base: '#011627',
surface: '#0b2942',
accent: '#c792ea',
}
}
}
}
}
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.