Tailwind slate-300: questions & answers
What is the HEX code of Tailwind slate-300?
Tailwind slate-300 is #CBD5E1, which is rgb(203, 213, 225) or hsl(213, 27%, 84%).
How do I use slate-300 as a background in Tailwind?
Add the class bg-slate-300 to the element. Use text-slate-300 for text and border-slate-300 for borders.
What text color works on bg-slate-300?
slate-600 (#475569) is the closest shade of the same color with readable contrast (5.1:1). Plain black text gives 14.14:1.