Eleven shades, from slate-50 to slate-950
Tailwind slate colors
Tailwind CSS 4.3.3 defines eleven slate shades in OKLCH, from slate-50 (#f8fafc) to slate-950 (#020618). On them white text passes WCAG AA from slate-500 to slate-950, and black text from slate-50 to slate-400. Recolor (recolor.page) shows the scale on a real page.
Last updated
- 50#f8fafc
- 100#f1f5f9
- 200#e2e8f0
- 300#cad5e2
- 400#90a1b9
- 500#62748e
- 600#45556c
- 700#314158
- 800#1d293d
- 900#0f172b
- 950#020618
| Shade | OKLCH | Hex | White text | Black text |
|---|---|---|---|---|
| slate-50 | oklch(98.4% 0.003 247.858) | #f8fafc | 1.05:1 fails | 20.07:1 passes |
| slate-100 | oklch(96.8% 0.007 247.896) | #f1f5f9 | 1.10:1 fails | 19.17:1 passes |
| slate-200 | oklch(92.9% 0.013 255.508) | #e2e8f0 | 1.23:1 fails | 17.03:1 passes |
| slate-300 | oklch(86.9% 0.022 252.894) | #cad5e2 | 1.49:1 fails | 14.13:1 passes |
| slate-400 | oklch(70.4% 0.04 256.788) | #90a1b9 | 2.63:1 fails | 7.98:1 passes |
| slate-500 | oklch(55.4% 0.046 257.417) | #62748e | 4.76:1 passes | 4.41:1 fails |
| slate-600 | oklch(44.6% 0.043 257.281) | #45556c | 7.58:1 passes | 2.77:1 fails |
| slate-700 | oklch(37.2% 0.044 257.287) | #314158 | 10.36:1 passes | 2.03:1 fails |
| slate-800 | oklch(27.9% 0.041 260.031) | #1d293d | 14.62:1 passes | 1.44:1 fails |
| slate-900 | oklch(20.8% 0.042 265.755) | #0f172b | 17.83:1 passes | 1.18:1 fails |
| slate-950 | oklch(12.9% 0.042 264.695) | #020618 | 20.16:1 passes | 1.04:1 fails |
Text on slate, and slate as text
For slate text the same lines hold in reverse: on white, use slate-500 or darker; on black, slate-400 or lighter. Contrast does not care which color sits behind.
Tailwind ships nine grays, and slate is the one with a blue hint: its chroma never passes 0.046.
None of the eleven leaves sRGB, so each hex matches its OKLCH value.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org