Clear heading Body text with a link in it. Button Muted note
Pastel Dusk
Developer classics Text contrast AAA 10.0:1
New: 177 themes, each one tested for readable contrast. Browse them
Developer classics · Dark theme
Slate navy with periwinkle-white text, bright cyan links and a sand-yellow accent.
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 Storm Navy's ten colours. Compare it live with the other themes.
Body text is #cbd4fe on #24283b, a
contrast of 10.0:1. That passes the stricter WCAG AAA level for body text (7:1).
Links come out at 8.5:1 and muted text at 6.9:1 against the background. The perceptual lightness gap between text and background is 0.59 on a scale from 0 to 1.
Use Storm Navy 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.
| Colour | Hex | Used for | Copy |
|---|---|---|---|
| Background | #24283b | The page behind everything | |
| Surface | #292e42 | Cards, panels and raised areas | |
| Text | #cbd4fe | Body text and headings | |
| Muted text | #a9b1d6 | Captions and secondary text | |
| Link | #7dcfff | Links you have not opened | |
| Visited link | #bb9af7 | Links you have opened | |
| Accent | #e0af68 | Buttons and highlights | |
| Border | #414868 | Lines and outlines | |
| Selection | #3d59a1 | Behind text you select | |
| Scrollbar | #3a405c | The scrollbar thumb |
/* Storm Navy — Dark Mode Alpha */
:root {
color-scheme: dark;
--dma-background: #24283b;
--dma-surface: #292e42;
--dma-text: #cbd4fe;
--dma-muted: #a9b1d6;
--dma-link: #7dcfff;
--dma-visited: #bb9af7;
--dma-accent: #e0af68;
--dma-border: #414868;
--dma-selection: #3d59a1;
--dma-scrollbar: #3a405c;
}
Paste the block into your own stylesheet to use these colours, for example
background: var(--dma-background).
| Pair | Ratio | WCAG |
|---|---|---|
| Body text text on background | 10.0:1 | AAA |
| Text on panels text on surface | 9.2:1 | AAA |
| Muted text muted on background | 6.9:1 | AA |
| Links link on background | 8.5:1 | AAA |
| Visited links visited on background | 6.3:1 | AA |
| Accent accent on background | 7.3: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.
Storm Navy belongs to the Developer classics family: looks based on well-known open-source editor palettes, adjusted to meet our contrast rules.
The colours of Storm Navy are inspired by the open-source palette Tokyo Night (storm) by Folke Lemaitre , published under the Apache-2.0 licence. The name, the adjustments and the contrast checks are ours.
The closest themes to Storm Navy by background, text and link colour.