Slate is one of the color families shipped with this release. Cool blue-gray — the default neutral for modern UIs..
Shades#
100200300400500600700800900950
Palette table#
| Shade | Class fragment | Value | Best role |
|---|---|---|---|
100 | slate-100 | #f8fafc | Very light — section backgrounds, badges on light UI, tinted code blocks. |
200 | slate-200 | #f1f5f9 | Light — borders on light themes, dividers with personality, chip backgrounds. |
300 | slate-300 | #e2e8f0 | Soft — secondary borders, disabled states with color, placeholder decorations. |
400 | slate-400 | #cbd5e1 | Medium-light — icons on dark surfaces, decorative accents, chart lines. |
500 | slate-500 | #94a3b8 | The primary step — buttons, links, brand fills, key interactive elements. |
600 | slate-600 | #64748b | Hover step — hover states for 500 elements, or primary on very light UIs. |
700 | slate-700 | #475569 | Active step — pressed states, emphasized text on light tinted backgrounds. |
800 | slate-800 | #334155 | Dark — text on light palettes, headers in tinted sections, dark UI fills. |
900 | slate-900 | #1e293b | Very dark — deep section backgrounds, high-contrast text carriers. |
950 | slate-950 | #0f172a | Darkest — near-black tinted backgrounds, hero surfaces, footer tones. |
Use it#
<div class="bg-slate-500 text-white p-6 rounded-xl">Slate surface</div>
<p class="text-slate-600 dark:text-slate-400">Adaptive text</p>
<div class="border border-slate-200 dark:border-slate-800 bg-slate-50 dark:bg-slate-950 p-4 rounded-lg">Panel</div>Per-usage guides#
Slate textstext-slate-* in practice.Slate backgroundsbg-slate-* in practice.Slate bordersborder-slate-* in practice.Slate gradientsfrom-slate-* in practice.
Contrast#
Flip point: shades 50–400 want dark text (text-slate-900); shades 500+ (approx.) want white text. Verify with the accessibility/color-contrast|contrast guide.
Related palettes#
colors/rose|rose · colors/gray|gray · colors/color-pairing|Pairing recipes
