Tailwind Colors

Tailwind CSS ships a default palette of 22 color families — slate, gray, red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose — each in 11 shades from 50 (lightest) to 950 (darkest). Click any swatch to copy its hex code.

Every Tailwind CSS color: 22 families × 11 shades with hex codes and class names, click to copy — plus a generator that builds a 50–950 scale from your brand color.

Values below are the Tailwind CSS v3 default palette hex values (published in the Tailwind documentation). Tailwind v4 defines the same palette in OKLCH; the nearest hex equivalents are shown here. Click any swatch to copy its hex code. Class names follow the pattern bg-blue-500, text-blue-500, border-blue-500.

Family50100200300400500600700800900950
slate
gray
zinc
neutral
stone
red
orange
amber
yellow
lime
green
emerald
teal
cyan
sky
blue
indigo
violet
purple
fuchsia
pink
rose

Build a scale from your brand color

Enter a hex code and get an 11-step 50–950 scale in the same style, plus a Tailwind config snippet to paste into your project.

How Tailwind's color scale works

Each family runs from 50 (near-white) to 950 (near-black), with 500 as the “base” color — the one you would use for a primary button or a main accent. Lighter shades (50–300) work as backgrounds and subtle fills; darker shades (600–950) work for text on light backgrounds and for hover states. The scale is designed so that each step is a similar visual jump from the last, which is why a Tailwind palette looks consistent even when you mix families.

To use a color, write the class name: bg-blue-500 for a background, text-slate-700 for text, border-pink-300 for a border. You can also set opacity with a slash: bg-blue-500/50 is the same color at 50% opacity.

Frequently asked questions

What is Tailwind blue 500 hex?

Tailwind blue 500 is #3B82F6. The full blue family runs from blue 50 (#EFF6FF) to blue 950 (#172554).

How many colors does Tailwind have?

The default palette has 22 families with 11 shades each — 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950 — plus black and white, for 244 colors in total.

What is the difference between Tailwind v3 and v4 colors?

The palette is the same set of colors. Version 3 defines them as hex values; version 4 defines them in OKLCH, a format that matches how eyes perceive lightness. The hex values on this page are the v3 values, which are the nearest hex equivalents.

Related tools

Color Converter · Palette Generator · Color Picker · Gradient Generator