Tailwind blue-500: questions & answers
What is the HEX code of Tailwind blue-500?
Tailwind blue-500 is #3B82F6, which is rgb(59, 130, 246) or hsl(217, 91%, 60%).
How do I use blue-500 as a background in Tailwind?
Add the class bg-blue-500 to the element. Use text-blue-500 for text and border-blue-500 for borders.
What text color works on bg-blue-500?
Black text gives the best contrast: 5.71:1.