Tailwind blue-800: questions & answers
What is the HEX code of Tailwind blue-800?
Tailwind blue-800 is #1E40AF, which is rgb(30, 64, 175) or hsl(226, 71%, 40%).
How do I use blue-800 as a background in Tailwind?
Add the class bg-blue-800 to the element. Use text-blue-800 for text and border-blue-800 for borders.
What text color works on bg-blue-800?
blue-300 (#93C5FD) is the closest shade of the same color with readable contrast (4.84:1). Plain white text gives 8.72:1.