Instant Matching

Hex to Tailwind

Enter any hex color and instantly find the closest Tailwind CSS class. Copy-ready utilities in one click.

#6366F1

Your color

#6366f1

Tailwind

#6366f1

indigo-500

Perfect
Exact
bg-indigo-500
text-indigo-500
border-indigo-500
#6366f1
Alternatives
Other close matches you might prefer

violet-500

#8b5cf6

indigo-600

#4f46e5

blue-500

#3b82f6

indigo-400

#818cf8

Pro Tips

  • Use the color picker for quick visual selection
  • Lower distance values mean closer matches
  • Distance of 0 means an exact Tailwind color
  • Check alternatives if the best match doesn't feel right