Midnight Edition

#0c121b

A neutral that has no useful hue — it reads as a grey. It is very dark — white text sits on it comfortably, black text does not.

Hex

#0c121b

RGB

12, 18, 27

OKLCh

18.1% 0.021 258.3°

CIELAB (D50)

5.3, -0.4, -6.8

What is true of this colour, and of no other

  • One other named colour sits within ΔE00 2 of it.
  • It uses only 31% of the chroma available at this lightness and hue — there is a far more vivid version of this colour inside sRGB.
  • As text on white it measures APCA Lc 105.3; on black, Lc 0.0. The sign is the polarity, which the WCAG ratio discards.
  • Built into an eleven-step scale, 10 of the 10 adjacent pairs stay ΔE00 2 apart — see the ramp.
  • tritanopia shifts it by ΔE00 7.6 — no blue cone.

Text on this colour

White text

18.78:1 — passes AA

Black text

1.12:1 — fails AA

White text is the better of the two at18.78:1. That is enough for body text.

The same colour, with one cone missing

As you see it

#0c121b

protanopia

#11111b · ΔE00 3.2

deuteranopia

#10101b · ΔE00 3.3

tritanopia

#0f0f25 · ΔE00 7.6

Run a whole palette through all three

The twelve nearest named colours

Ranked by CIEDE2000 — perceptual distance, not hex arithmetic. The closest isNyctophobia at ΔE00 1.629: between 1 and 2 — a trained eye spots it when the two touch; nobody spots it across a room. What the numbers mean.

7 of these have no page of their own: pages exist for the 4,961 colours the dataset marks as good names.