Color guides

Choose the right Tailwind color for your release

·

A utility name can stay the same when its color value changes between framework releases. Use the Tailwind version in your project to choose which value to copy.

Tailwind Colors Reference

Compare blue-500 across releases

Select Tailwind CSS 4.3.0 and search for bg-blue-500. With Published value selected, the card shows oklch(62.3% 0.214 259.815). Choose Theme reference to copy var(--color-blue-500).

Switch to Tailwind CSS 3.4.19 while keeping the same search. Published value now shows #3b82f6. Background utility still gives bg-blue-500. The matching utility is resolved by your project's build.

Tailwind CSS 4.3.0 — Theme color definitionsTailwind CSS 3.4.19 — Public colors

Download the blue family for one release

Clear the search and select blue under Color family. The result contains eleven shades from 50 through 950. Tailwind CSS 4.3.0 downloads a CSS file with those eleven definitions inside @theme. Version 3.4.19 downloads JSON with a blue object and the eleven HEX values.

With All families selected, the two reference releases include 288 and 244 colors respectively, counting black and white. Tailwind CSS 4.3.0 also has mauve, olive, mist and taupe.

Tailwind CSS 4.3.0 — Theme color definitionsTailwind CSS 3.4.19 — Public colorsTailwind CSS — Colors and theme variables

Choose a value for an sRGB-only field

If your destination needs HEX, choose HEX / sRGB preview. For blue-500 in 4.3.0 the approximation is #2B7FFF. A Clipped to sRGB note appears when a channel exceeds the available range.

For a Tailwind CSS 4 stylesheet that can use the original OKLCH value, select Published value to retain its coordinates.

Tailwind CSS — Colors and theme variablesW3C CSS Color 4 — Color spaces

Common questions

Can I search using a class from my stylesheet?

Yes. Enter a color utility such as text-blue-500, a token such as blue-500 or a CSS variable name such as --color-blue-500.

Does export follow the current page of results?

Export includes every matching color across all pages. Use the family and search filters to select the complete set you intend to download.

Sources

Put it into practice.

Related guides