Eleven shades, from indigo-50 to indigo-950
Tailwind indigo colors
Tailwind CSS 4.3.3 defines eleven indigo shades in OKLCH, from indigo-50 (#eef2ff) to indigo-950 (#1e1a4d). On them white text passes WCAG AA from indigo-500 to indigo-950, and black text from indigo-50 to indigo-500. Recolor (recolor.page) shows the scale on a real page.
Last updated
- 50#eef2ff
- 100#e0e7ff
- 200#c6d2ff
- 300#a3b3ff
- 400#7c86ff
- 500#615fff
- 600#4f39f6
- 700#432dd7
- 800#372aac
- 900#312c85
- 950#1e1a4d
| Shade | OKLCH | Hex | White text | Black text |
|---|---|---|---|---|
| indigo-50 | oklch(96.2% 0.018 272.314) | #eef2ff | 1.12:1 fails | 18.78:1 passes |
| indigo-100 | oklch(93% 0.034 272.788) | #e0e7ff | 1.23:1 fails | 17.04:1 passes |
| indigo-200 | oklch(87% 0.065 274.039) | #c6d2ff | 1.49:1 fails | 14.06:1 passes |
| indigo-300 | oklch(78.5% 0.115 274.713) | #a3b3ff | 2.01:1 fails | 10.45:1 passes |
| indigo-400 | oklch(67.3% 0.182 276.935) | #7c86ff | 3.13:1 fails | 6.71:1 passes |
| indigo-500 | oklch(58.5% 0.233 277.117) | #615fff | 4.58:1 passes | 4.59:1 passes |
| indigo-600 | oklch(51.1% 0.262 276.966) | #4f39f6 | 6.46:1 passes | 3.25:1 fails |
| indigo-700 | oklch(45.7% 0.24 277.023) | #432dd7 | 8.09:1 passes | 2.60:1 fails |
| indigo-800 | oklch(39.8% 0.195 277.366) | #372aac | 10.05:1 passes | 2.09:1 fails |
| indigo-900 | oklch(35.9% 0.144 278.697) | #312c85 | 11.48:1 passes | 1.83:1 fails |
| indigo-950 | oklch(25.7% 0.09 281.288) | #1e1a4d | 16.03:1 passes | 1.31:1 fails |
On real websites: colors that go with indigo lists the hues and grays the 41 studied sites whose main color is indigo set beside it.
Text on indigo, and indigo as text
For indigo text the same lines hold in reverse: on white, use indigo-500 or darker; on black, indigo-500 or lighter. Contrast does not care which color sits behind.
The most colorful shade is indigo-600, chroma 0.262; the hue moves 9.0 degrees between indigo-50 and indigo-950.
Of the eleven values, 6 reach beyond sRGB; for those the hex is a gamut-mapped stand-in with less chroma.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org