Tailwind slate-50: questions & answers
What is the HEX code of Tailwind slate-50?
Tailwind slate-50 is #F8FAFC, which is rgb(248, 250, 252) or hsl(210, 40%, 98%).
How do I use slate-50 as a background in Tailwind?
Add the class bg-slate-50 to the element. Use text-slate-50 for text and border-slate-50 for borders.
What text color works on bg-slate-50?
slate-500 (#64748B) is the closest shade of the same color with readable contrast (4.55:1). Plain black text gives 20.07:1.