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

True black · Dark theme

Black Cobalt

Pure black with bright off-white text and deeper mid-blue links that stand apart from the text, best on OLED screens.

True black Dark theme Text contrast AAA 16.5: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 Black Cobalt's ten colours. Compare it live with the other themes.

Contrast in plain words

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

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

Use Black Cobalt 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 Black Cobalt theme
Colour Hex Used for Copy
Background #000000 The page behind everything
Surface #000000 Cards, panels and raised areas
Text #e4e4e4 Body text and headings
Muted text #929292 Captions and secondary text
Link #4982d5 Links you have not opened
Visited link #ba8cc8 Links you have opened
Accent #e9b452 Buttons and highlights
Border #393939 Lines and outlines
Selection #2c4871 Behind text you select
Scrollbar #2b2b2b The scrollbar thumb

CSS variables

black-cobalt.css
/* Black Cobalt — Dark Mode Alpha */
:root {
  color-scheme: dark;
  --dma-background: #000000;
  --dma-surface: #000000;
  --dma-text: #e4e4e4;
  --dma-muted: #929292;
  --dma-link: #4982d5;
  --dma-visited: #ba8cc8;
  --dma-accent: #e9b452;
  --dma-border: #393939;
  --dma-selection: #2c4871;
  --dma-scrollbar: #2b2b2b;
}

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

Contrast figures

Contrast ratios for the Black Cobalt theme
Pair Ratio WCAG
Body text text on background 16.5:1 AAA
Text on panels text on surface 16.5:1 AAA
Muted text muted on background 6.8:1 AA
Links link on background 5.4:1 AA
Visited links visited on background 7.7:1 AAA
Accent accent on background 11.1: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

Black Cobalt belongs to the True black family: pure black pages with off-white text and one colour for links.

  • Colour-blind safe Links differ from body text in lightness, not only in hue, and stay distinguishable in simulations of the three main types of colour-vision deficiency.
  • OLED black A pure black page, with cards and menus marked by borders instead of grey fills. On OLED screens black pixels are switched off, which uses less power, mostly at high brightness.

Credit

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

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