G
GamutDesk

Tailwind CSS Palette Generator

Generate a complete 11-step color ramp (50 through 950) compatible with Tailwind CSS v3 and v4 theme configurations.

100% Client-SideZero Data Collection
11-Step Palette Ramp (Click Swatch to Copy)
Tailwind CSS v4 (@theme)
/* Tailwind CSS v4 @theme */
@theme {
  --color-brand-50: #EFF3FB;
  --color-brand-100: #D5DFF6;
  --color-brand-200: #A8BFF0;
  --color-brand-300: #799DEC;
  --color-brand-400: #487BEA;
  --color-brand-500: #2563EB;
  --color-brand-600: #1450D2;
  --color-brand-700: #1242AB;
  --color-brand-800: #103584;
  --color-brand-900: #0D275E;
  --color-brand-950: #0A1939;
}
Tailwind CSS v3 (tailwind.config)
// tailwind.config.ts
colors: {
  brand: {
    50: '#EFF3FB',
    100: '#D5DFF6',
    200: '#A8BFF0',
    300: '#799DEC',
    400: '#487BEA',
    500: '#2563EB',
    600: '#1450D2',
    700: '#1242AB',
    800: '#103584',
    900: '#0D275E',
    950: '#0A1939',
  },
}

Technical Specification & Mathematical Principles

The Tailwind scale anchors the base color at index 500. Lighter variants (50-400) are mapped through a non-linear luminance curve with targeted saturation dampening.

Darker variants (600-950) apply progressive attenuation down to L = 2% for step 950, producing balanced contrast for dark mode UI backgrounds and text hierarchies.

Frequently Asked Questions

Rather than simply interpolating RGB channels to white or black, the generator modifies Lightness in HSL space while applying logarithmic saturation dampening (sFactor) to prevent washed-out light tones and muddy dark tones.

Related Design & Color Instruments