Create shades from a HEX color
Enter a six-digit HEX color such as #3B82F6, or use the color picker. The shade creator generates ten light-to-dark swatches. Each row shows the HEX and HSL values, with a Copy button for the HEX color.
Use the palette to choose backgrounds, borders, hover states, and text colors. The generator keeps the input hue and saturation in HSL and varies lightness between 95% and 5%. Its 50 through 950 labels describe the scale, but the generated colors are not an exact Tailwind palette.
Choose shades that work together
A lighter swatch can work as a background while a darker swatch provides text or an active state. Equal changes in HSL lightness do not always look equally bright to the eye, so inspect the palette in the interface where you plan to use it.
Check foreground and background pairs with the color contrast calculator before using them for readable text. A shade's position in this palette does not establish its contrast against another color. The input color may fall between generated lightness steps and may not appear as an exact swatch.
Common questions
- How does the shade creator generate colors?
- It converts the input HEX color to HSL, keeps the hue and saturation, and creates ten swatches with lightness values from 95% down to 5%.
- Are these the official Tailwind CSS shades?
- No. The tool uses numeric shade labels, but its HSL lightness scale does not reproduce Tailwind CSS palettes.