Back to all articles

Tailwind CSS Colors — Complete Color Palette Reference & Picker

3 min read100% Client-SideToolsHubs Team
#tailwind colors#tailwind css colors#tailwind color palette#tailwind color picker#tailwind color classes#tailwind v3 colors#tailwind hex colors#tailwind color reference#tailwind shades
Tailwind CSS Colors — Complete Color Palette Reference & Picker

The Tailwind CSS Color System

Tailwind CSS includes one of the most thoughtfully designed color palettes in any CSS framework. Unlike Bootstrap's handful of semantic colors, Tailwind gives you a full, mathematically balanced palette of 22 color families, each with 11 carefully chosen shades.


The 22 Color Families

Tailwind organizes its colors into these families:

FamilyNotes
slateBlue-gray, popular for neutral backgrounds
grayPure neutral gray
zincGray with a hint of warm metal
neutralPerfectly neutral gray
stoneWarm gray with sandy undertones
redVibrant, strong red
orangeWarm orange
amberGolden amber yellow
yellowBright, saturated yellow
limeYellow-green
greenBalanced green
emeraldRich emerald green
tealBlue-green
cyanBright cyan
skyLight, airy blue
blueClassic blue
indigoDeep indigo-blue
violetPurple-blue
purplePure purple
fuchsiaPink-purple
pinkBright pink
roseRed-pink

The Shade Scale

Each color family has 11 shades:

ShadeUsage
50Nearly white — backgrounds, hover states
100Very light — section backgrounds
200Light — borders, dividers
300Soft — disabled states, placeholder text
400Medium-light — icons, secondary text
500Mid-tone — default brand color
600Slightly dark — hover variants
700Dark — active/pressed states
800Very dark — headings on light backgrounds
900Near black — primary text on white
950Darkest — dark mode backgrounds

How to Use Tailwind Colors

Text color: text-blue-500
Background: bg-blue-500
Border: border-blue-500
Ring (focus): ring-blue-500
Divide: divide-blue-500
Gradient: from-blue-500 to-purple-600

With opacity modifier (Tailwind v3+):

<div class="bg-blue-500/20">  <!-- 20% opacity -->
<div class="text-gray-900/80"> <!-- 80% opacity -->

Tailwind v4 Color Changes

Tailwind CSS v4 (2025) introduced a new approach — colors are defined as CSS custom properties using OKLCH color space, making them even more perceptually uniform and allowing easier custom overrides in CSS:

/* v4 style */
--color-blue-500: oklch(62.3% 0.214 259.1);

The class names remain the same, but the underlying values are more accurate across different screens.


Custom Brand Colors

In your tailwind.config.js, extend the palette with brand colors:

module.exports = {
  theme: {
    extend: {
      colors: {
        brand: {
          50: '#f0f9ff',
          500: '#0284c7',
          900: '#0c4a6e',
        }
      }
    }
  }
}

Then use: bg-brand-500, text-brand-900, etc.


Related Tailwind Tools


Recommended schema: SoftwareApplication + FAQPage