New: 177 themes, each one tested for readable contrast. Browse them

Developer classics · Dark theme

Moonlit Indigo

Indigo-grey with pale blue text, cornflower links and a turquoise accent.

Developer classics Dark theme Text contrast AAA 10.3:1

Preview

fieldnotes.example/tide-pools

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.

PoolDepthSeen
North ledge12 cmAnemone, limpets
Split rock30 cmShore crab
Read more Save Muted caption text

A sample page in Moonlit Indigo's ten colours. Compare it live with the other themes.

Contrast in plain words

Body text is #c8d3f5 on #222436, a contrast of 10.3:1. That passes the stricter WCAG AAA level for body text (7:1).

Links come out at 6.7:1 and muted text at 4.7:1 against the background. The perceptual lightness gap between text and background is 0.60 on a scale from 0 to 1.

Use Moonlit Indigo 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

The ten colours of the Moonlit Indigo theme
Colour Hex Used for Copy
Background #222436 The page behind everything
Surface #2f334d Cards, panels and raised areas
Text #c8d3f5 Body text and headings
Muted text #848dbb Captions and secondary text
Link #82aaff Links you have not opened
Visited link #fca7ea Links you have opened
Accent #4fd6be Buttons and highlights
Border #444a73 Lines and outlines
Selection #335cc9 Behind text you select
Scrollbar #3e4367 The scrollbar thumb

CSS variables

moonlit-indigo.css
/* Moonlit Indigo — Dark Mode Alpha */
:root {
  color-scheme: dark;
  --dma-background: #222436;
  --dma-surface: #2f334d;
  --dma-text: #c8d3f5;
  --dma-muted: #848dbb;
  --dma-link: #82aaff;
  --dma-visited: #fca7ea;
  --dma-accent: #4fd6be;
  --dma-border: #444a73;
  --dma-selection: #335cc9;
  --dma-scrollbar: #3e4367;
}

Paste the block into your own stylesheet to use these colours, for example background: var(--dma-background).

Contrast figures

Contrast ratios for the Moonlit Indigo theme
Pair Ratio WCAG
Body text text on background 10.3:1 AAA
Text on panels text on surface 8.3:1 AAA
Muted text muted on background 4.7:1 AA
Links link on background 6.7:1 AA
Visited links visited on background 8.6:1 AAA
Accent accent on background 8.5: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

Moonlit Indigo 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.

Credit and licence

The colours of Moonlit Indigo are inspired by the open-source palette Tokyo Night (moon) by Folke Lemaitre , published under the Apache-2.0 licence. The name, the adjustments and the contrast checks are ours.

Full licence notices

Moonlit Indigo as its card appears in the extension's gallery
The card for this theme in the extension's gallery.

Similar themes

The closest themes to Moonlit Indigo by background, text and link colour.