Tailwind slate-500: questions & answers
What is the HEX code of Tailwind slate-500?
Tailwind slate-500 is #64748B, which is rgb(100, 116, 139) or hsl(215, 16%, 47%).
How do I use slate-500 as a background in Tailwind?
Add the class bg-slate-500 to the element. Use text-slate-500 for text and border-slate-500 for borders.
What text color works on bg-slate-500?
slate-50 (#F8FAFC) is the closest shade of the same color with readable contrast (4.55:1). Plain white text gives 4.76:1.