---
title: "Tailwind Theme Generator - Brand Palette Tool - AllTools"
description: "AllTools Tailwind Theme Generator expands a brand base color into a complete ramp with dark variants, keeping multiple products visually consistent."
canonical_url: "https://tool.warmday.wang/en/design/tailwind-theme"
meta:
  author: AllTools
  keywords: "online tools, AllTools, free online tools, developer tools, image tools, PDF tools, text tools, unit converter, no login, browser-based tools"
  "og:description": "AllTools Tailwind Theme Generator expands a brand base color into a complete ramp with dark variants, keeping multiple products visually consistent."
  "og:image": "https://tool.warmday.wang/img/og-cover.png"
  "og:image:alt": "AllTools Logo"
  "og:image:height": "630"
  "og:image:width": "1200"
  "og:title": "Tailwind Theme Generator - Brand Palette Tool"
  "twitter:image": "https://tool.warmday.wang/img/og-cover.png"
---

> Index of every page on this site: [llms.txt](https://tool.warmday.wang/llms.txt)

# **Tailwind v4 Theme Color Generator**

Enter a base color to auto-generate the standard Tailwind CSS 11-step color scale (50-950), with export to `@theme` configuration code.

### **Base Color**

**HEX Color Value**

**Theme Name (for export)**

H

**217°**

S

**91%**

L

**60%**

### **Preset Colors**

### **Export Code**

```
@import "tailwindcss";

@theme {
  --color-brand-50: #f3f6fc;
  --color-brand-100: #e5edfb;
  --color-brand-200: #c3d8f9;
  --color-brand-300: #8db6f6;
  --color-brand-400: #468af6;
  --color-brand-500: #0b64f4;
  --color-brand-600: #0453d2;
  --color-brand-700: #0143ad;
  --color-brand-800: #013384;
  --color-brand-900: #002766;
  --color-brand-950: #00173d;
}
```

### **Shade Preview**

**brand**

**50**#f3f6fc

hsl(217, 61%, 97%)

**100**#e5edfb

hsl(217, 71%, 94%)

**200**#c3d8f9

hsl(217, 81%, 87%)

**300**#8db6f6

hsl(217, 86%, 76%)

**400**#468af6

hsl(217, 91%, 62%)

**500**#0b64f4

hsl(217, 91%, 50%)

**600**#0453d2

hsl(217, 96%, 42%)

**700**#0143ad

hsl(217, 99%, 34%)

**800**#013384

hsl(217, 99%, 26%)

**900**#002766

hsl(217, 100%, 20%)

**950**#00173d

hsl(217, 100%, 12%)

### **Shade Bar**

**50**

**100**

**200**

**300**

**400**

**500**

**600**

**700**

**800**

**900**

**950**

### **Text Contrast Preview**

**Shade 50**

#f3f6fc

The quick brown fox jumps over the lazy dog.

**Shade 100**

#e5edfb

The quick brown fox jumps over the lazy dog.

**Shade 200**

#c3d8f9

The quick brown fox jumps over the lazy dog.

**Shade 300**

#8db6f6

The quick brown fox jumps over the lazy dog.

**Shade 400**

#468af6

The quick brown fox jumps over the lazy dog.

**Shade 500**

#0b64f4

The quick brown fox jumps over the lazy dog.

**Shade 600**

#0453d2

The quick brown fox jumps over the lazy dog.

**Shade 700**

#0143ad

The quick brown fox jumps over the lazy dog.

**Shade 800**

#013384

The quick brown fox jumps over the lazy dog.

**Shade 900**

#002766

The quick brown fox jumps over the lazy dog.

**Shade 950**

#00173d

The quick brown fox jumps over the lazy dog.

### **Instructions**

#### **Features**

- Tailwind CSS v4 uses a 50-950 color scale system by default, configured via the `@theme` block
- Based on the HSL color space, generates 11 shades (50-950) from the base color
- The shade system matches Tailwind CSS default scales and can be used directly in projects
- Supports exporting as Tailwind v4 `@theme` configuration code
- 17 built-in preset colors for one-click application of common brand colors
- Real-time preview of text contrast on each shade

#### **Tips**

- Click the color swatch on the left to open the system color picker
- Enter a HEX value (e.g. #3b82f6) to specify a color precisely
- After entering a theme name, the variable names in the exported code will be replaced automatically
- When exporting Tailwind v4 format, use the `@theme` directive to configure custom colors
- Hover the shade bar to view the shade number; click to copy the HEX value
- The text contrast preview helps you choose a suitable text color pairing

## **Related tools**

More from the same category · Design Tools

[**Color Palette Generator**Generate palettes in one click and copy the hex values into your design.](https://tool.warmday.wang/en/design/colors) [**Color Format Converter**Convert HEX, RGB, HSL, CMYK and HSV live with one synced picker.](https://tool.warmday.wang/en/design/color-converter) [**QR Code Generator**Make QR codes with your logo and colors, then export vector SVG.](https://tool.warmday.wang/en/design/qrcode) [**QR Code Decoder**Scan a QR from an image or camera and copy its link or text.](https://tool.warmday.wang/en/design/qrcode-decoder) [**Barcode Generator**Create Code128, EAN, UPC and more barcodes as vector files.](https://tool.warmday.wang/en/design/barcode) [**Barcode Decoder**Read the value of a 1D barcode image for fast stock checks.](https://tool.warmday.wang/en/design/barcode-decoder)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://tool.warmday.wang/#organization","name":"AllTools","alternateName":"AllTools - 全能工具箱","url":"https://tool.warmday.wang/","logo":{"@type":"ImageObject","url":"https://tool.warmday.wang/img/logo.png","width":512,"height":512}},{"@type":"WebSite","@id":"https://tool.warmday.wang/en#website","url":"https://tool.warmday.wang/en","name":"AllTools","inLanguage":"en","publisher":{"@id":"https://tool.warmday.wang/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://tool.warmday.wang/en?q={search_term_string}"},"query-input":"required name=search_term_string"}},{"@type":"WebPage","@id":"https://tool.warmday.wang/en/design/tailwind-theme#webpage","url":"https://tool.warmday.wang/en/design/tailwind-theme","isPartOf":{"@id":"https://tool.warmday.wang/en#website"},"inLanguage":"en","name":"Tailwind Theme Generator - Brand Palette Tool","description":"AllTools Tailwind Theme Generator expands a brand base color into a complete ramp with dark variants, keeping multiple products visually consistent."},{"@type":"SoftwareApplication","@id":"https://tool.warmday.wang/en/design/tailwind-theme#app","name":"Tailwind Theme Generator - Brand Palette Tool","description":"AllTools Tailwind Theme Generator expands a brand base color into a complete ramp with dark variants, keeping multiple products visually consistent.","url":"https://tool.warmday.wang/en/design/tailwind-theme","applicationCategory":"DesignApplication","operatingSystem":"Web","inLanguage":"en","isPartOf":{"@id":"https://tool.warmday.wang/en/design/tailwind-theme#webpage"},"offers":{"@type":"Offer","price":"0","priceCurrency":"CNY"}},{"@type":"BreadcrumbList","@id":"https://tool.warmday.wang/en/design/tailwind-theme#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://tool.warmday.wang/en"},{"@type":"ListItem","position":2,"name":"Design Tools","item":"https://tool.warmday.wang/en/design"},{"@type":"ListItem","position":3,"name":"Tailwind Theme Generator","item":"https://tool.warmday.wang/en/design/tailwind-theme"}]}]}
```

## Sitemap

See the full [sitemap](https://tool.warmday.wang/sitemap.md) for all pages.
