Clear heading Body text with a link in it. Button Muted note
Soft Coal
Soft charcoal Text contrast AAA 11.8:1
New: 177 themes, each one tested for readable contrast. Browse them
Blue night · Dark theme
Dark blue-grey slate with soft off-white text and grey-blue links, for dim rooms.
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 Dim Slate's ten colours. Compare it live with the other themes.
Body text is #cdd4dc on #1a2027, a
contrast of 11.0:1. That passes the stricter WCAG AAA level for body text (7:1).
Links come out at 8.1:1 and muted text at 5.5:1 against the background. The perceptual lightness gap between text and background is 0.63 on a scale from 0 to 1.
Use Dim Slate 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 | #1a2027 | The page behind everything | |
| Surface | #252b33 | Cards, panels and raised areas | |
| Text | #cdd4dc | Body text and headings | |
| Muted text | #8d97a2 | Captions and secondary text | |
| Link | #9bbad6 | Links you have not opened | |
| Visited link | #a391c4 | Links you have opened | |
| Accent | #86a9c9 | Buttons and highlights | |
| Border | #3d4550 | Lines and outlines | |
| Selection | #30465c | Behind text you select | |
| Scrollbar | #333a44 | The scrollbar thumb |
/* Dim Slate — Dark Mode Alpha */
:root {
color-scheme: dark;
--dma-background: #1a2027;
--dma-surface: #252b33;
--dma-text: #cdd4dc;
--dma-muted: #8d97a2;
--dma-link: #9bbad6;
--dma-visited: #a391c4;
--dma-accent: #86a9c9;
--dma-border: #3d4550;
--dma-selection: #30465c;
--dma-scrollbar: #333a44;
}
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 | 11.0:1 | AAA |
| Text on panels text on surface | 9.5:1 | AAA |
| Muted text muted on background | 5.5:1 | AA |
| Links link on background | 8.1:1 | AAA |
| Visited links visited on background | 5.8:1 | AA |
| Accent accent on background | 6.7:1 | AA |
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.
Dim Slate belongs to the Blue night family: navy, indigo and slate-blue backgrounds.
Dim Slate is an original palette by Carolinas Dev. Palettes that build on open-source work are listed on the credits page.
The closest themes to Dim Slate by background, text and link colour.