Eleven shades, from cyan-50 to cyan-950
Tailwind cyan colors
Tailwind CSS 4.3.3 defines eleven cyan shades in OKLCH, from cyan-50 (#ecfeff) to cyan-950 (#053345). On them white text passes WCAG AA from cyan-700 to cyan-950, and black text from cyan-50 to cyan-600. Recolor (recolor.page) shows the scale on a real page.
Last updated
- 50#ecfeff
- 100#cefafe
- 200#a2f4fd
- 300#53eafd
- 400#00d3f2
- 500#00b8db
- 600#0092b8
- 700#007595
- 800#005f78
- 900#104e64
- 950#053345
| Shade | OKLCH | Hex | White text | Black text |
|---|---|---|---|---|
| cyan-50 | oklch(98.4% 0.019 200.873) | #ecfeff | 1.04:1 fails | 20.19:1 passes |
| cyan-100 | oklch(95.6% 0.045 203.388) | #cefafe | 1.12:1 fails | 18.73:1 passes |
| cyan-200 | oklch(91.7% 0.08 205.041) | #a2f4fd | 1.24:1 fails | 16.89:1 passes |
| cyan-300 | oklch(86.5% 0.127 207.078) | #53eafd | 1.44:1 fails | 14.56:1 passes |
| cyan-400 | oklch(78.9% 0.154 211.53) | #00d3f2 | 1.81:1 fails | 11.60:1 passes |
| cyan-500 | oklch(71.5% 0.143 215.221) | #00b8db | 2.37:1 fails | 8.88:1 passes |
| cyan-600 | oklch(60.9% 0.126 221.723) | #0092b8 | 3.62:1 fails | 5.80:1 passes |
| cyan-700 | oklch(52% 0.105 223.128) | #007595 | 5.28:1 passes | 3.98:1 fails |
| cyan-800 | oklch(45% 0.085 224.283) | #005f78 | 7.22:1 passes | 2.91:1 fails |
| cyan-900 | oklch(39.8% 0.07 227.392) | #104e64 | 9.15:1 passes | 2.30:1 fails |
| cyan-950 | oklch(30.2% 0.056 229.695) | #053345 | 13.41:1 passes | 1.57:1 fails |
Text on cyan, and cyan as text
As a text color the rule turns around: cyan text on a white page passes AA from cyan-700 on, and on a black page up to cyan-600, since a contrast ratio is the same whichever color is in front.
Chroma peaks at cyan-400 (0.154) and falls toward both ends, while the hue drifts 28.8 degrees across the scale.
5 of the eleven lie outside sRGB, so their hex codes are the nearest sRGB colors, and a wide-gamut screen shows them stronger.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org