Skip to content
brownie.tools

Tailwind Color Palette

Every Tailwind color in one grid. Click a shade to copy its class, hex, OKLCH or CSS variable.

Tailwind version

indigo-500

Utility

indigo-500 selected, #615fff

red

orange

amber

yellow

lime

green

emerald

teal

cyan

sky

blue

indigo

violet

purple

fuchsia

pink

rose

slate

gray

zinc

neutral

stone

mauve

olive

mist

taupe

Runs locally in your browser. Nothing is uploaded or sent to a server.

Tailwind CSS ships a default palette of color families, each with eleven shades from 50 to 950. Version 4 has 26 families (286 colors) defined in OKLCH; version 3 has 22 families (242 colors) defined in hex. Click any shade in the grid to see its name, hex and, for v4, its oklch() value, then copy bg-, text- or border- classes in one click. For example, blue-500 is #2b7fff in v4 and #3b82f6 in v3.

Updated

What Colors Are in the Tailwind CSS Palette?

The default Tailwind palette is a grid of color families, each with eleven shades. Shade 50 is the lightest, 950 the darkest, and 500 is the midpoint most designs start from. Tailwind v4 has 26 families and 286 colors; Tailwind v3 has 22 families and 242 colors. The v4 values come from the tailwindcss theme.css file, with each color's original oklch() definition and an sRGB hex equivalent.

The families fall into two groups. Seventeen chromatic families run around the color wheel: red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink and rose. The neutral families are slate, gray, zinc, neutral and stone, which differ by a slight blue, cool, warm or zero tint. Tailwind v4 adds four more muted neutrals: mauve, olive, mist and taupe.

How Do Tailwind v3 and v4 Colors Compare?

Names stayed the same between versions, but most values changed. Tailwind v4 defines the palette in OKLCH, a color space where equal steps look equally different to the eye, and pushes many colors further toward the edge of what screens can display. The table compares shade 500 of several families.

Shade 500 in Tailwind v4 and v3
Colorv4 hexv4 oklch()v3 hex
red-500#fb2c36oklch(63.7% 0.237 25.331)#ef4444
orange-500#ff6900oklch(70.5% 0.213 47.604)#f97316
green-500#00c950oklch(72.3% 0.219 149.579)#22c55e
blue-500#2b7fffoklch(62.3% 0.214 259.815)#3b82f6
indigo-500#615fffoklch(58.5% 0.233 277.117)#6366f1
slate-500#62748eoklch(55.4% 0.046 257.417)#64748b
neutral-500#737373oklch(55.6% 0 none)#737373

Neutral is the one family whose 500 shade is identical in both versions, because it has no hue at all. Chromatic families changed the most: red-500 moved from #ef4444 to #fb2c36, and green-500 from #22c55e to #00c950. When you switch versions, the palette keeps the same shade selected so you can see the difference; a v4-only family such as mauve jumps to its nearest v3 color.

How Do You Copy a Tailwind Color?

Click a swatch to select it. The panel shows the color name, its hex value and a large swatch. Choose bg, text or border and press the Copy button to copy a complete class such as text-emerald-600. The smaller buttons copy the hex value and, for Tailwind v4, the oklch() value and the CSS variable reference var(--color-emerald-600).

On a phone, the selected color stays pinned at the top while you scroll through the families, so the copy button is always one tap away. Every swatch is a button: move through the grid with Tab, press Enter or Space to select, and a screen reader announces the name and hex of the selection.

Which Shade Should You Use for Text and Backgrounds?

Shades follow a predictable pattern. Shades 50 to 200 work as page and card backgrounds, 500 and 600 are typical for buttons and accents, and 700 to 950 suit text and dark backgrounds. Light text on a 500 background often fails the WCAG 4.5:1 contrast ratio for body text; white on blue-600 or blue-700 usually passes. Check a specific pair with the Contrast Checker before shipping it.

For a brand color that is not in the palette, the Tailwind Color Finder shows its closest Tailwind match and writes an @theme or tailwind.config.js entry for the exact value. The Color Shades Generator builds a full 50–950 scale from one color in the same structure as the default palette.

Does This Palette Include Black, White and Custom Colors?

The grid shows the shaded families only. Tailwind also provides black (#000), white (#fff), transparent and currentColor, which have no shades and are written as bg-black, text-white and so on. Colors you add in your own theme are not shown, because the palette is built in; it does not read your project's configuration. Everything on this page runs in your browser, and no color you select or copy is sent anywhere.

How to Use Tailwind Color Palette

  1. Choose Tailwind v4 or Tailwind v3

    Select the version your project uses. Tailwind v4 is selected initially and shows 26 color families; Tailwind v3 shows 22.

  2. Click a shade in the grid

    Each row is one color family and each column is a shade from 50 (lightest) to 950 (darkest). Click a swatch, or move to it with Tab and press Enter, to select it.

  3. Copy the class or value

    Choose bg, text or border and press Copy to copy the full class, such as bg-blue-500. The buttons below copy the hex value and, for v4, the oklch() value and the CSS variable var(--color-blue-500).

Frequently Asked Questions

Tailwind v4 includes 26 color families: red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose, slate, gray, zinc, neutral, stone, mauve, olive, mist and taupe. Each has eleven shades: 50, 100, then every hundred to 900, and 950. Tailwind v3 has the first 22 of these families. Black and white are separate single values outside the shade scales.

Every swatch in this palette shows its hex code when selected, with a copy button. A few v4 examples: red-500 #fb2c36, green-500 #00c950, blue-500 #2b7fff and slate-500 #62748e. The matching v3 values are red-500 #ef4444, green-500 #22c55e, blue-500 #3b82f6 and slate-500 #64748b. Tailwind v4 defines colors in OKLCH, so its hex values are sRGB equivalents.

Tailwind v4 redefined the palette in the OKLCH color space and made many colors more vivid, especially on wide-gamut screens. Names stayed the same, so indigo-500 is #6366f1 in v3 and #615fff in v4. Switch between Tailwind v4 and Tailwind v3 above the grid to compare a shade, and copy the value that matches the version your project uses.

In Tailwind v4 every palette color is a CSS variable named --color-<family>-<shade>, so you can write color: var(--color-blue-500) in your own CSS. Select a v4 shade and copy the variable directly. In Tailwind v3 the palette lives in JavaScript, so use the theme() function in CSS, for example theme('colors.blue.500'), or copy the hex value.

Open the Tailwind Color Finder and paste your color as HEX, rgb() or hsl(). It compares your color with all 286 v4 or 242 v3 palette entries using perceptual OKLab distance and shows the nearest match next to yours, with nine alternatives. From any selected shade here, the link under the copy buttons opens the finder with that color filled in.