Developer classics · Dark theme
Deep Ocean Night
Deep ocean navy with pale blue-white text, cornflower links and a yellow-green 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 Deep Ocean Night's ten colours. Compare it live with the other themes.
Contrast in plain words
Body text is #d6deeb on #011627, a
contrast of 13.5:1. That passes the stricter WCAG AAA level for body text (7:1).
Links come out at 8.0:1 and muted text at 7.1:1 against the background. The perceptual lightness gap between text and background is 0.71 on a scale from 0 to 1.
Use Deep Ocean Night 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 | #011627 | The page behind everything | |
| Surface | #0b253a | Cards, panels and raised areas | |
| Text | #d6deeb | Body text and headings | |
| Muted text | #89a4bb | Captions and secondary text | |
| Link | #82aaff | Links you have not opened | |
| Visited link | #b37ed5 | Links you have opened | |
| Accent | #c5e478 | Buttons and highlights | |
| Border | #1d3b53 | Lines and outlines | |
| Selection | #234d70 | Behind text you select | |
| Scrollbar | #18344b | The scrollbar thumb |
CSS variables
/* Deep Ocean Night — Dark Mode Alpha */
:root {
color-scheme: dark;
--dma-background: #011627;
--dma-surface: #0b253a;
--dma-text: #d6deeb;
--dma-muted: #89a4bb;
--dma-link: #82aaff;
--dma-visited: #b37ed5;
--dma-accent: #c5e478;
--dma-border: #1d3b53;
--dma-selection: #234d70;
--dma-scrollbar: #18344b;
}
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 | 13.5:1 | AAA |
| Text on panels text on surface | 11.6:1 | AAA |
| Muted text muted on background | 7.1:1 | AAA |
| Links link on background | 8.0:1 | AAA |
| Visited links visited on background | 6.0:1 | AA |
| Accent accent on background | 12.9: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
Deep Ocean Night belongs to the Developer classics family: looks based on well-known open-source editor palettes, adjusted to meet our contrast rules.
Not part of a purpose collection. Browse its family.
Credit and licence
The colours of Deep Ocean Night are inspired by the open-source palette Night Owl by Sarah Drasner , published under the MIT licence. The name, the adjustments and the contrast checks are ours.
Similar themes
The closest themes to Deep Ocean Night by background, text and link colour.