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.

ColorExact OKLCHCSS variable
indigo-50oklch(96.2% 0.018 272.314)--color-indigo-50
indigo-100oklch(93% 0.034 272.788)--color-indigo-100
indigo-200oklch(87% 0.065 274.039)--color-indigo-200
indigo-300oklch(78.5% 0.115 274.713)--color-indigo-300
indigo-400oklch(67.3% 0.182 276.935)--color-indigo-400
indigo-500oklch(58.5% 0.233 277.117)--color-indigo-500
indigo-600oklch(51.1% 0.262 276.966)--color-indigo-600
indigo-700oklch(45.7% 0.24 277.023)--color-indigo-700
indigo-800oklch(39.8% 0.195 277.366)--color-indigo-800
indigo-900oklch(35.9% 0.144 278.697)--color-indigo-900
indigo-950oklch(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.

  1. 50#EEF2FF
    White
    1.11
    Black
    18.78
  2. 100#E0E7FF
    White
    1.23
    Black
    17.04
  3. 200#C7D2FE
    White
    1.49
    Black
    14.07
  4. 300#A5B4FC
    White
    1.99
    Black
    10.53
  5. 400#818CF8
    White
    2.98
    Black
    7.04
  6. 500#6366F1
    White
    4.46
    Black
    4.70
  7. 600#4F46E5
    White
    6.28
    Black
    3.33
  8. 700#4338CA
    White
    7.90
    Black
    2.65
  9. 800#3730A3
    White
    9.93
    Black
    2.11
  10. 900#312E81
    White
    11.42
    Black
    1.83
  11. 950#1E1B4B
    White
    15.98
    Black
    1.31

Values

Hex, RGB and OKLCH values

The Tailwind CSS v3.4 values, with the contrast of white and black text on each shade.

ShadeHEXRGBOKLCHWhite textBlack text
indigo-50#EEF2FFrgb(238, 242, 255)oklch(0.962 0.018 272.3)1.1118.78
indigo-100#E0E7FFrgb(224, 231, 255)oklch(0.930 0.033 272.8)1.2317.04
indigo-200#C7D2FErgb(199, 210, 254)oklch(0.870 0.062 274.0)1.4914.07
indigo-300#A5B4FCrgb(165, 180, 252)oklch(0.785 0.104 274.7)1.9910.53
indigo-400#818CF8rgb(129, 140, 248)oklch(0.680 0.158 276.9)2.987.04
indigo-500#6366F1rgb(99, 102, 241)oklch(0.585 0.204 277.1)4.464.70
indigo-600#4F46E5rgb(79, 70, 229)oklch(0.511 0.230 277.0)6.283.33
indigo-700#4338CArgb(67, 56, 202)oklch(0.457 0.215 277.0)7.902.65
indigo-800#3730A3rgb(55, 48, 163)oklch(0.398 0.177 277.4)9.932.11
indigo-900#312E81rgb(49, 46, 129)oklch(0.359 0.135 278.7)11.421.83
indigo-950#1E1B4Brgb(30, 27, 75)oklch(0.257 0.086 281.3)15.981.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 shade50100200300400500600700800900950
50same shade1.101.331.782.663.995.627.068.8810.2114.29
1001.10same shade1.211.612.423.625.106.418.069.2712.97
2001.331.21same shade1.331.992.994.215.296.657.6510.71
3001.781.611.33same shade1.492.243.153.964.985.738.01
4002.662.421.991.49same shade1.492.102.643.333.825.35
5003.993.622.992.241.49same shade1.401.762.222.553.57
6005.625.104.213.152.101.40same shade1.251.571.812.54
7007.066.415.293.962.641.761.25same shade1.251.442.02
8008.888.066.654.983.332.221.571.25same shade1.141.60
90010.219.277.655.733.822.551.811.441.14same shade1.39
95014.2912.9710.718.015.353.572.542.021.601.39same 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 sees
  • Typical 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.

CSS custom properties

: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

// 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',
        },
      },
    },
  },
};

Tailwind v4 theme

/* 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);
}

Design tokens (W3C DTCG)

{
  "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"
        }
      }
    }
  }
}

SwiftUI colors

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)
}

Jetpack Compose colors

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.