Developer classics · Dark theme
Nightfall Blue
Dark navy-slate with neutral grey text, steel-blue links and an orange accent.
Preview
Field notes · 4 minute read
How tide pools keep their colour
At low tide the rock holds small pools of sea water. Each one is a link you have not opened, and beside it one you already have. A value such as depth: 12cm sits in a code chip.
A good theme keeps a quote readable without making it shout.
| Pool | Depth | Seen |
|---|---|---|
| North ledge | 12 cm | Anemone, limpets |
| Split rock | 30 cm | Shore crab |
A sample page in Nightfall Blue's ten colours. Compare it live with the other themes.
Contrast in plain words
Body text is #d2d3d4 on #192330, a
contrast of 10.6:1. That passes the stricter WCAG AAA level for body text (7:1).
Links come out at 5.6:1 and muted text at 4.7:1 against the background. The perceptual lightness gap between text and background is 0.61 on a scale from 0 to 1.
Use Nightfall Blue on the sites you open.
Free in Dark Mode Alpha, along with every other theme. Give it to one site or to all of them.
Palette
| Colour | Hex | Used for | Copy |
|---|---|---|---|
| Background | #192330 | The page behind everything | |
| Surface | #212e3f | Cards, panels and raised areas | |
| Text | #d2d3d4 | Body text and headings | |
| Muted text | #7c8ea6 | Captions and secondary text | |
| Link | #719cd6 | Links you have not opened | |
| Visited link | #bc98f8 | Links you have opened | |
| Accent | #f4a261 | Buttons and highlights | |
| Border | #39506d | Lines and outlines | |
| Selection | #3c5372 | Behind text you select | |
| Scrollbar | #32455f | The scrollbar thumb |
CSS variables
/* Nightfall Blue — Dark Mode Alpha */
:root {
color-scheme: dark;
--dma-background: #192330;
--dma-surface: #212e3f;
--dma-text: #d2d3d4;
--dma-muted: #7c8ea6;
--dma-link: #719cd6;
--dma-visited: #bc98f8;
--dma-accent: #f4a261;
--dma-border: #39506d;
--dma-selection: #3c5372;
--dma-scrollbar: #32455f;
}
Paste the block into your own stylesheet to use these colours, for example
background: var(--dma-background).
Contrast figures
| Pair | Ratio | WCAG |
|---|---|---|
| Body text text on background | 10.6:1 | AAA |
| Text on panels text on surface | 9.2:1 | AAA |
| Muted text muted on background | 4.7:1 | AA |
| Links link on background | 5.6:1 | AA |
| Visited links visited on background | 6.8:1 | AA |
| Accent accent on background | 7.7:1 | AAA |
AAA means at least 7:1, AA at least 4.5:1, and "AA large" at least 3:1, which is enough for large text and interface parts but not for body text.
Family and collections
Nightfall Blue belongs to the Developer classics family: looks based on well-known open-source editor palettes, adjusted to meet our contrast rules.
- Softer contrast Off-white text on a lifted dark background, never pure white on pure black. Some people prefer text that is less stark.
- Evening and dim rooms Dark grey and slate pages with off-white text, never pure black or pure white. Some people find off-white on grey easier to read than white on black.
Credit and licence
The colours of Nightfall Blue are inspired by the open-source palette Nightfox by James Simpson (EdenEast) , published under the MIT licence. The name, the adjustments and the contrast checks are ours.
Similar themes
The closest themes to Nightfall Blue by background, text and link colour.