OKLCH Studio · color reference
slate-900 in OKLCH
Tailwind v4 slate-900: oklch(0.208 0.042 265.8), HEX #0F172B. WCAG + APCA pairs, Fix deep links, and @theme snippet.
slate-900 is a deep shade — strong for text on light surfaces and dark UI chrome. Pair with lighter stops for surfaces.
Contrast pairs
WCAG 2.1 normal text + APCA Lc. Open a pair in the live Fix tool — informational only, not a legal audit.
- Text on white17.83:1 · AAA · Lc 105
#0F172B on #FFFFFF
Open in Contrast → - White on swatch17.83:1 · AAA · Lc 107
#FFFFFF on #0F172B
Open in Contrast → - Black on swatch1.18:1 · Fail · Lc 0
#000000 on #0F172B
Open in Contrast → - Suggested text on swatch17.83:1 · AAA · Lc 107
#FFFFFF on #0F172B
Open in Contrast →
Dark surface pairing
Against #121212: On near-black (#121212), Fix nudges this stop to #77839D for AA text.
Copy code
@theme {
--color-slate-900: oklch(0.208 0.042 265.8);
}Related
Convert #0F172B
Keep exploring
Static reference — the live Fix tool uses the same WCAG math with Undo and share links.
Contrast Fix →OKLCH Studio homeTailwind indexCSS names index