Tailwind slate-900: questions & answers
What is the HEX code of Tailwind slate-900?
Tailwind slate-900 is #0F172A, which is rgb(15, 23, 42) or hsl(222, 47%, 11%).
How do I use slate-900 as a background in Tailwind?
Add the class bg-slate-900 to the element. Use text-slate-900 for text and border-slate-900 for borders.
What text color works on bg-slate-900?
slate-400 (#94A3B8) is the closest shade of the same color with readable contrast (6.96:1). Plain white text gives 17.85:1.