Tailwind indigo-400: questions & answers
What is the HEX code of Tailwind indigo-400?
Tailwind indigo-400 is #818CF8, which is rgb(129, 140, 248) or hsl(234, 89%, 74%).
How do I use indigo-400 as a background in Tailwind?
Add the class bg-indigo-400 to the element. Use text-indigo-400 for text and border-indigo-400 for borders.
What text color works on bg-indigo-400?
indigo-950 (#1E1B4B) is the closest shade of the same color with readable contrast (5.36:1). Plain black text gives 7.04:1.