Tailwind CSS v3.4 color family
Tailwind indigo 11 shades, 50 to 950
Indigo is one of the 22 color families in Tailwind CSS v3.4, with eleven shades from 50 to 950. Its 500 shade, #6366F1, sits at OKLCH hue 277.1°. Lightness runs from 0.962 at 50 to 0.257 at 950.
- 500 shade
- #6366F1
- OKLCH hue at 500
- 277.1°
- Body text on white
- 600 to 950
- Body text on black
- 50 to 500
Tailwind CSS 4.3.3
indigo: current colors
11 shades with exact official OKLCH values. Use bg-indigo-500, text-indigo-500 or border-indigo-500 in Tailwind. Wide-gamut colors are preserved; these are not the v3 hex values.
| Color | Exact OKLCH | CSS variable |
|---|---|---|
| indigo-50 | oklch(96.2% 0.018 272.314) | --color-indigo-50 |
| indigo-100 | oklch(93% 0.034 272.788) | --color-indigo-100 |
| indigo-200 | oklch(87% 0.065 274.039) | --color-indigo-200 |
| indigo-300 | oklch(78.5% 0.115 274.713) | --color-indigo-300 |
| indigo-400 | oklch(67.3% 0.182 276.935) | --color-indigo-400 |
| indigo-500 | oklch(58.5% 0.233 277.117) | --color-indigo-500 |
| indigo-600 | oklch(51.1% 0.262 276.966) | --color-indigo-600 |
| indigo-700 | oklch(45.7% 0.24 277.023) | --color-indigo-700 |
| indigo-800 | oklch(39.8% 0.195 277.366) | --color-indigo-800 |
| indigo-900 | oklch(35.9% 0.144 278.697) | --color-indigo-900 |
| indigo-950 | oklch(25.7% 0.09 281.288) | --color-indigo-950 |
Source: Tailwind CSS 4.3.3 theme.css (MIT). Values are pinned to this release. Older v3 reference values below are kept separately for existing projects.
Scale
Every shade, 50 to 950
Each shade has a page of its own. Under each, white and black text on it; a bold figure passes 4.5:1.
Values
Hex, RGB and OKLCH values
The Tailwind CSS v3.4 values, with the contrast of white and black text on each shade.
| Shade | HEX | RGB | OKLCH | White text | Black text |
|---|---|---|---|---|---|
| indigo-50 | #EEF2FF | rgb(238, 242, 255) | oklch(0.962 0.018 272.3) | 1.11 | 18.78 |
| indigo-100 | #E0E7FF | rgb(224, 231, 255) | oklch(0.930 0.033 272.8) | 1.23 | 17.04 |
| indigo-200 | #C7D2FE | rgb(199, 210, 254) | oklch(0.870 0.062 274.0) | 1.49 | 14.07 |
| indigo-300 | #A5B4FC | rgb(165, 180, 252) | oklch(0.785 0.104 274.7) | 1.99 | 10.53 |
| indigo-400 | #818CF8 | rgb(129, 140, 248) | oklch(0.680 0.158 276.9) | 2.98 | 7.04 |
| indigo-500 | #6366F1 | rgb(99, 102, 241) | oklch(0.585 0.204 277.1) | 4.46 | 4.70 |
| indigo-600 | #4F46E5 | rgb(79, 70, 229) | oklch(0.511 0.230 277.0) | 6.28 | 3.33 |
| indigo-700 | #4338CA | rgb(67, 56, 202) | oklch(0.457 0.215 277.0) | 7.90 | 2.65 |
| indigo-800 | #3730A3 | rgb(55, 48, 163) | oklch(0.398 0.177 277.4) | 9.93 | 2.11 |
| indigo-900 | #312E81 | rgb(49, 46, 129) | oklch(0.359 0.135 278.7) | 11.42 | 1.83 |
| indigo-950 | #1E1B4B | rgb(30, 27, 75) | oklch(0.257 0.086 281.3) | 15.98 | 1.31 |
Legibility
Which shades pass on each other
Every shade as text on every other shade. 36 of 110 pairings pass 4.5:1 for body text, and 16 more pass 3:1 for large text.
| Text shade, then background shade | 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 50 | same shade | 1.10 | 1.33 | 1.78 | 2.66 | 3.99 | 5.62 | 7.06 | 8.88 | 10.21 | 14.29 |
| 100 | 1.10 | same shade | 1.21 | 1.61 | 2.42 | 3.62 | 5.10 | 6.41 | 8.06 | 9.27 | 12.97 |
| 200 | 1.33 | 1.21 | same shade | 1.33 | 1.99 | 2.99 | 4.21 | 5.29 | 6.65 | 7.65 | 10.71 |
| 300 | 1.78 | 1.61 | 1.33 | same shade | 1.49 | 2.24 | 3.15 | 3.96 | 4.98 | 5.73 | 8.01 |
| 400 | 2.66 | 2.42 | 1.99 | 1.49 | same shade | 1.49 | 2.10 | 2.64 | 3.33 | 3.82 | 5.35 |
| 500 | 3.99 | 3.62 | 2.99 | 2.24 | 1.49 | same shade | 1.40 | 1.76 | 2.22 | 2.55 | 3.57 |
| 600 | 5.62 | 5.10 | 4.21 | 3.15 | 2.10 | 1.40 | same shade | 1.25 | 1.57 | 1.81 | 2.54 |
| 700 | 7.06 | 6.41 | 5.29 | 3.96 | 2.64 | 1.76 | 1.25 | same shade | 1.25 | 1.44 | 2.02 |
| 800 | 8.88 | 8.06 | 6.65 | 4.98 | 3.33 | 2.22 | 1.57 | 1.25 | same shade | 1.14 | 1.60 |
| 900 | 10.21 | 9.27 | 7.65 | 5.73 | 3.82 | 2.55 | 1.81 | 1.44 | 1.14 | same shade | 1.39 |
| 950 | 14.29 | 12.97 | 10.71 | 8.01 | 5.35 | 3.57 | 2.54 | 2.02 | 1.60 | 1.39 | same shade |
Rows are the text shade, columns the background. A bold figure on a tinted cell passes 4.5:1 for body text; a plain one passes 3:1 for large text only; a faint one fails.
Color vision
The scale with color blindness
The same eleven shades as seen with each color vision deficiency. Lightness keeps a ramp in order even where its hue collapses.
Simulated with Machado et al. (2009) at full severity, in linear light.
What each type seesTypical vision
Closest neighbors: 50 and 100, ΔE2000 4.7
Protanopia
Closest neighbors: 50 and 100, ΔE2000 4.4
Deuteranopia
Closest neighbors: 50 and 100, ΔE2000 4.8
Tritanopia
Closest neighbors: 50 and 100, ΔE2000 3.7
Achromatopsia
Closest neighbors: 50 and 100, ΔE2000 2.3
Code
Design tokens
The whole family in six formats, ready to paste.
:root {
--color-indigo-50: #eef2ff;
--color-indigo-100: #e0e7ff;
--color-indigo-200: #c7d2fe;
--color-indigo-300: #a5b4fc;
--color-indigo-400: #818cf8;
--color-indigo-500: #6366f1;
--color-indigo-600: #4f46e5;
--color-indigo-700: #4338ca;
--color-indigo-800: #3730a3;
--color-indigo-900: #312e81;
--color-indigo-950: #1e1b4b;
}
// tailwind.config.js — indigo is built in; this pins the v3.4 values.
module.exports = {
theme: {
extend: {
colors: {
indigo: {
50: '#eef2ff',
100: '#e0e7ff',
200: '#c7d2fe',
300: '#a5b4fc',
400: '#818cf8',
500: '#6366f1',
600: '#4f46e5',
700: '#4338ca',
800: '#3730a3',
900: '#312e81',
950: '#1e1b4b',
},
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
/* v4 has its own indigo; these pin the v3 values. */
--color-indigo-50: oklch(0.962 0.018 272.3);
--color-indigo-100: oklch(0.930 0.033 272.8);
--color-indigo-200: oklch(0.870 0.062 274.0);
--color-indigo-300: oklch(0.785 0.104 274.7);
--color-indigo-400: oklch(0.680 0.158 276.9);
--color-indigo-500: oklch(0.585 0.204 277.1);
--color-indigo-600: oklch(0.511 0.230 277.0);
--color-indigo-700: oklch(0.457 0.215 277.0);
--color-indigo-800: oklch(0.398 0.177 277.4);
--color-indigo-900: oklch(0.359 0.135 278.7);
--color-indigo-950: oklch(0.257 0.086 281.3);
}
{
"color": {
"indigo": {
"50": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.9333, 0.949, 1],
"hex": "#eef2ff"
}
},
"100": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.8784, 0.9059, 1],
"hex": "#e0e7ff"
}
},
"200": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.7804, 0.8235, 0.9961],
"hex": "#c7d2fe"
}
},
"300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.6471, 0.7059, 0.9882],
"hex": "#a5b4fc"
}
},
"400": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.5059, 0.549, 0.9725],
"hex": "#818cf8"
}
},
"500": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.3882, 0.4, 0.9451],
"hex": "#6366f1"
}
},
"600": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.3098, 0.2745, 0.898],
"hex": "#4f46e5"
}
},
"700": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.2627, 0.2196, 0.7922],
"hex": "#4338ca"
}
},
"800": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.2157, 0.1882, 0.6392],
"hex": "#3730a3"
}
},
"900": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.1922, 0.1804, 0.5059],
"hex": "#312e81"
}
},
"950": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.1176, 0.1059, 0.2941],
"hex": "#1e1b4b"
}
}
}
}
}
import SwiftUI
enum Palette {
static let indigo50 = Color(.sRGB, red: 0.933, green: 0.949, blue: 1.000, opacity: 1)
static let indigo100 = Color(.sRGB, red: 0.878, green: 0.906, blue: 1.000, opacity: 1)
static let indigo200 = Color(.sRGB, red: 0.780, green: 0.824, blue: 0.996, opacity: 1)
static let indigo300 = Color(.sRGB, red: 0.647, green: 0.706, blue: 0.988, opacity: 1)
static let indigo400 = Color(.sRGB, red: 0.506, green: 0.549, blue: 0.973, opacity: 1)
static let indigo500 = Color(.sRGB, red: 0.388, green: 0.400, blue: 0.945, opacity: 1)
static let indigo600 = Color(.sRGB, red: 0.310, green: 0.275, blue: 0.898, opacity: 1)
static let indigo700 = Color(.sRGB, red: 0.263, green: 0.220, blue: 0.792, opacity: 1)
static let indigo800 = Color(.sRGB, red: 0.216, green: 0.188, blue: 0.639, opacity: 1)
static let indigo900 = Color(.sRGB, red: 0.192, green: 0.180, blue: 0.506, opacity: 1)
static let indigo950 = Color(.sRGB, red: 0.118, green: 0.106, blue: 0.294, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val Indigo50 = Color(0xFFEEF2FF)
val Indigo100 = Color(0xFFE0E7FF)
val Indigo200 = Color(0xFFC7D2FE)
val Indigo300 = Color(0xFFA5B4FC)
val Indigo400 = Color(0xFF818CF8)
val Indigo500 = Color(0xFF6366F1)
val Indigo600 = Color(0xFF4F46E5)
val Indigo700 = Color(0xFF4338CA)
val Indigo800 = Color(0xFF3730A3)
val Indigo900 = Color(0xFF312E81)
val Indigo950 = Color(0xFF1E1B4B)
}
Families
Other Tailwind families
The rest of the Tailwind CSS v3.4 palette, in the order Tailwind lists it.