A very dark cool gray, white text passes AA
Tailwind mist-800
The hex code of Tailwind mist-800 is #22292b (rgb(34 41 43)), from its Tailwind CSS 4.3.3 value oklch(27.5% 0.011 216.9). White text on it reaches 14.79:1, passing WCAG AAA; below, Recolor (recolor.page) puts it on a page.
Last updated
--color-mist-800), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(27.5% 0.011 216.9) |
| Hex | #22292b |
| RGB | rgb(34 41 43) |
| HSL | hsl(193 12% 15%) |
| CSS variable | var(--color-mist-800) |
| Nearest CSS name | darkslategray #2f4f4f, 0.131 away in OKLab |
| White text | 14.79:1: AA passes, AAA passes, large text passes |
| Black text | 1.42:1: AA fails, AAA fails, large text fails |
About mist-800
Read as numbers, mist-800 is lightness 27.5%, chroma 0.011 and hue 216.9 degrees; read by eye, it is a very dark cool gray. Its neighbors on the mist scale are mist-700, 10.3 points lighter, and mist-900, 5.7 points darker.
HSL calls its lightness 15%, OKLCH 27.5%: 12 points between a formula and a measure of what the eye sees. No gamut mapping is needed here: oklch(27.5% 0.011 216.9) sits inside sRGB and #22292b matches it.
White on mist-800 reads at 14.79:1, enough for AAA body text; black reaches 1.42:1 and should stay off it. White text passes on every mist shade from mist-500 down, so mist-800 is 3 shades past the line.
No CSS named color comes near it: the closest, darkslategray (#2f4f4f), is 0.131 away in OKLab.
Tints and shades
- #d8d7d7
- #b2b0b0
- #8e8a8b
- #6c6668
- #4b4546
- #22292b
- #201b1c
- #151112
- #0a0808
- #030203
From light to dark: 5 toward white and 4 toward black, mixed in OKLCH a sixth of the way at a time with the hue kept. A step that would repeat its neighbor is left out.
A palette around it
- #22292b
- #82c2af
- #434b7d
- #f6d9a5
- #9f6f94
Around mist-800 as swatch 1, Recolor's generator made a free palette, hues spread around the wheel: #82c2af, #434b7d, #f6d9a5, #9f6f94, drawn from a seed fixed by its hex. Open it in Recolor.
Using mist-800
Pair it with text-white, 14.79:1; mist-800 as text on a white page measures the same ratio. In CSS it is var(--color-mist-800).
<a class="bg-mist-800 text-white" href="/start">Get started</a>
<p class="text-mist-800">Text in mist-800</p>Common questions
Does white text pass WCAG AA on Tailwind mist-800?
Yes. White text measures 14.79:1 on mist-800, above the 4.5:1 that WCAG AA asks of body text, and above AAA's 7:1 too.
Is Tailwind mist-800 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-mist-800: oklch(27.5% 0.011 216.9); #22292b is its conversion to sRGB.
Is there a CSS named color for Tailwind mist-800?
No. The nearest CSS named color is darkslategray (#2f4f4f), 0.131 away in OKLab.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org