Color to Tailwind

Find the closest Tailwind CSS color class for any hex color. Compares against the full Tailwind v3 palette and shows top 5 matches.

How to Use Color to Tailwind

The Color to Tailwind tool finds the closest Tailwind CSS color class for any hex color you provide. Enter a hex color and the tool compares it against the entire Tailwind v3 color palette using Euclidean distance in RGB space, showing the top 5 closest matches ranked by similarity. Perfect for developers migrating designs to Tailwind CSS, finding the right utility class for a brand color, or exploring which Tailwind colors are closest to a given value. Shows color swatches, class names, hex values, and distance scores.

Step-by-Step Instructions

  1. Enter a hex color (e.g. #3B82F6 or 3B82F6)
  2. Click Find Tailwind Color to search the palette
  3. View the top 5 closest Tailwind color matches
  4. Copy the best matching class name for your CSS

Related Tools

More Free Tools