Black Box on Magic Carpet
#0f282f on #9488be
Body text at this size
And the smaller size most interfaces actually use for paragraphs — the size that decides whether a pair is usable.
Caption text, which almost nothing passes.
WCAG 2.1
4.78:1
Passes AA for body text
Not AAA (7:1). Swapping the two colours gives the same number — the ratio does not know which is the text.
APCA
Lc 40.8
Clears Lc 30 — the floor: below this the draft considers text not readable at any size.
Dark text on a lighter ground.
Colour difference
ΔE00 42.3
different colours
Above 10 — related only in the sense that both are colours.
Nothing to fix
This pair already clears 4.5:1, so #0f282f can stay exactly as it is. Check another pair.
And to someone missing a cone
protanopia
Ratio 4.58:1, ΔE00 38.9.
deuteranopia
Ratio 4.89:1, ΔE00 39.8.
tritanopia
Ratio 4.83:1, ΔE00 39.9.
The weakest of the three is protanopia, where the two are ΔE00 38.9 apart against 42.3 for a trichromat — still clearly two colours.
Both colours have pages of their own: Black Box ·Magic Carpet · the same pair the other way round ·all pairs