The complete Tailwind CSS colors reference
The Tailwind CSS colors reference gives you the entire default palette in one searchable, copyable view. Every color family is laid out with its full range of shades, alongside the exact HEX, OKLCH, utility class, and CSS variable you need to drop straight into your project. Whether you're building a marketing site, a dashboard, or a design system, this is the fastest way to find the right Tailwind tone without scrolling through documentation.
Tailwind ships with a vast palette crafted by hand, and every color in the default palette includes 11 steps, with 50 being the lightest, and 950 being the darkest. That gives you a consistent ramp for backgrounds, text, borders, and dark-mode surfaces across every hue.
What you can copy from each swatch
- HEX — the classic 6-digit value for design tools and legacy CSS.
- OKLCH — the perceptually uniform format Tailwind v4 uses by default.
- Utility class — for example
bg-sky-500,text-gray-950, orborder-pink-300. - CSS variable — like
--color-blue-600, ready for@themeor custom property usage.
Why Tailwind switched to OKLCH
Tailwind colors are defined using the OKLCH color model. OKLCH stands for OKLab Lightness, Chroma, Hue, and it describes colors based on human visual perception. Unlike traditional color models, OKLCH provides perceptually uniform changes—meaning that adjusting numerical values results in visually consistent transitions. That's why the v4 palette feels smoother across shades and looks more vibrant on modern wide-gamut displays.
Use it as a design-system starting point
The default Tailwind palette is intentionally broad. The Tailwind default palette contains 22 color families, each with 11 shades (50 through 950). A few select colors — black, white, transparent, and inherit — are also available as single-value utilities. When you need a brand color outside that set, generate a matching ramp with the Tailwind Scale Generator, then validate the combinations with the Contrast Checker for WCAG compliance.
Common workflows
- Pick a primary family (e.g.
indigo) and a neutral family (e.g.slateorzinc). - Use shades 50–200 for surfaces, 400–600 for interactive elements, and 700–950 for text and dark mode.
- Convert any swatch to other formats with the Color Converter or compare alternatives in Compare Colors.
Compared to other framework palettes such as Bootstrap 5 or Material Design, Tailwind's eleven-step ramp gives you the most flexibility for both light and dark UIs, while still snapping to a predictable naming convention. The CSS Color Module Level 4 spec, which defines OKLCH, is what makes the modern palette possible across browsers.