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

Blue night · Dark theme

Midnight Harbor

Deep navy with blue-white text, bright blue links and an amber accent like harbour lights.

Blue night Dark theme Text contrast AAA 13.9: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 Midnight Harbor's ten colours. Compare it live with the other themes.

Contrast in plain words

Body text is #d8e3ee on #0b1726, a contrast of 13.9:1. That passes the stricter WCAG AAA level for body text (7:1).

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

Use Midnight Harbor 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 Midnight Harbor theme
Colour Hex Used for Copy
Background #0b1726 The page behind everything
Surface #162333 Cards, panels and raised areas
Text #d8e3ee Body text and headings
Muted text #8b9cac Captions and secondary text
Link #76bafe Links you have not opened
Visited link #a98acd Links you have opened
Accent #eeb154 Buttons and highlights
Border #2f3d50 Lines and outlines
Selection #274a6d Behind text you select
Scrollbar #273547 The scrollbar thumb

CSS variables

midnight-harbor.css
/* Midnight Harbor — Dark Mode Alpha */
:root {
  color-scheme: dark;
  --dma-background: #0b1726;
  --dma-surface: #162333;
  --dma-text: #d8e3ee;
  --dma-muted: #8b9cac;
  --dma-link: #76bafe;
  --dma-visited: #a98acd;
  --dma-accent: #eeb154;
  --dma-border: #2f3d50;
  --dma-selection: #274a6d;
  --dma-scrollbar: #273547;
}

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

Contrast figures

Contrast ratios for the Midnight Harbor theme
Pair Ratio WCAG
Body text text on background 13.9:1 AAA
Text on panels text on surface 12.2:1 AAA
Muted text muted on background 6.4:1 AA
Links link on background 8.8:1 AAA
Visited links visited on background 6.2:1 AA
Accent accent on background 9.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

Midnight Harbor belongs to the Blue night family: navy, indigo and slate-blue backgrounds.

  • 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

Midnight Harbor is an original palette by Carolinas Dev. Palettes that build on open-source work are listed on the credits page.

Midnight Harbor 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 Midnight Harbor by background, text and link colour.