Skip to content
PantoneTools
purple
Tailwind CSS palette

Indigo 400

indigo-400 · #818CF8

HEX

#818CF8

RGB

rgb(129, 140, 248)

CMYK

cmyk(48%, 44%, 0%, 3%)

HSL

hsl(234, 89%, 74%)

LAB

lab(61.8, 24.2, -55.4)

What is Indigo 400?

Indigo 400 is the indigo-400 reference in the Tailwind CSS palette. Its sRGB value is #818CF8 (rgb 129, 140, 248). It sits in the purple family. The default color palette shipped with Tailwind CSS v3 by Tailwind Labs. 22 color families across 11 lightness steps (50 to 950). See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Indigo 400 as a background.

Black text on this color

Sample text · 7.04 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 2.98 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Indigo 400

An 11-step tonal scale derived from Indigo 400 (#818CF8). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #F5F6FE

50

#F5F6FE

#F5F6FE

Copied #EBEDFE

100

#EBEDFE

#EBEDFE

Copied #D7DAFD

200

#D7DAFD

#D7DAFD

Copied #C0C6FC

300

#C0C6FC

#C0C6FC

Copied #A1A9FA

400

#A1A9FA

#A1A9FA

Copied #818CF8

500

#818CF8

#818CF8

Copied #6E77D3

600

#6E77D3

#6E77D3

Copied #545BA1

700

#545BA1

#545BA1

Copied #3A3F70

800

#3A3F70

#3A3F70

Copied #20233E

900

#20233E

#20233E

Copied #0F111E

950

#0F111E

#0F111E

Lighter tints (mixed with white)

Copied #9DA4F9

15%

#9DA4F9

Copied #B4B9FA

30%

#B4B9FA

Copied #C7CBFB

45%

#C7CBFB

Copied #D8DBFC

60%

#D8DBFC

Copied #E8E9FD

75%

#E8E9FD

Darker shades (mixed with black)

Copied #7882E7

15%

#7882E7

Copied #6D77D4

30%

#6D77D4

Copied #616ABE

45%

#616ABE

Copied #545BA5

60%

#545BA5

Copied #424885

75%

#424885

Color harmonies for Indigo 400

Classic color-theory harmonies derived from rotating the hue of Indigo 400. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #818CF8

#818CF8

#818CF8

Copied #F8EC82

#F8EC82

#F8EC82

Triadic

Three colors 120° apart

Copied #818CF8

#818CF8

#818CF8

Copied #F8828D

#F8828D

#F8828D

Copied #8DF882

#8DF882

#8DF882

Analogous

Two neighbors ±30° on the wheel

Copied #82C9F8

#82C9F8

#82C9F8

Copied #818CF8

#818CF8

#818CF8

Copied #B182F8

#B182F8

#B182F8

Split-complementary

Base + two colors flanking its complement

Copied #818CF8

#818CF8

#818CF8

Copied #F8B182

#F8B182

#F8B182

Copied #C9F882

#C9F882

#C9F882

Tetradic

Two complementary pairs

Copied #818CF8

#818CF8

#818CF8

Copied #EC82F8

#EC82F8

#EC82F8

Copied #F8EC82

#F8EC82

#F8EC82

Copied #8DF882

#8DF882

#8DF882

Square

Four colors evenly spaced 90° apart

Copied #818CF8

#818CF8

#818CF8

Copied #F882C9

#F882C9

#F882C9

Copied #F8EC82

#F8EC82

#F8EC82

Copied #82F8B1

#82F8B1

#82F8B1

Indigo 400 in every color space

Full conversion of Indigo 400 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#818CF8

RGB

rgb(129, 140, 248)

CMYK

cmyk(48%, 44%, 0%, 3%)

HSL

hsl(234, 89%, 74%)

HSV

hsv(234, 48%, 97%)

HWB

hwb(234 51% 3%)

CIE Lab

lab(61.8 24.2 -55.4)

OKLCH

oklch(68.0% 0.158 276.9)

XYZ (D65)

xyz(35.37, 30.20, 92.75)

Copy-ready code for Indigo 400

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #818CF8;
background-color: #818CF8;

CSS variable

:root {
  --color-indigo-400: #818CF8;
}

Tailwind config

// tailwind.config.js
colors: {
  'indigo-400': '#818CF8',
}

Sass

$color-indigo-400: #818CF8;

Swift UIColor

UIColor(red: 0.506, green: 0.549, blue: 0.973, alpha: 1.0)

Android XML

<color name="indigo-400">#818CF8</color>

Closest match in every color system

The nearest Indigo 400 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in Tailwind CSS palette

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #3B83BD

RAL 5012

#3B83BD

Light blue

Copied #7E8B92

RAL 7000

#7E8B92

Squirrel grey

Copied #8F999F

RAL 7001

#8F999F

Silver grey

Copied #606E8C

RAL 5014

#606E8C

Pigeon blue

Copied #2271B3

RAL 5015

#2271B3

Sky blue

Copied #9DA1AA

RAL 7040

#9DA1AA

Window grey

FAQ about Indigo 400

What is the HEX code for Indigo 400?

Indigo 400 (indigo-400) has the HEX code #818CF8. In RGB it is rgb(129, 140, 248), and in CMYK it is cmyk(48%, 44%, 0%, 3%).

What is the OKLCH value of Indigo 400?

Indigo 400 converts to oklch(0.680 0.158 276.9). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Indigo 400 accessible for body text?

Used as a background, Indigo 400 has a contrast ratio of 7.04:1 with black text and 2.98:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.

What is the closest Pantone to Indigo 400?

The closest Pantone reference to Indigo 400 by ΔE2000 perceptual distance is Pantone 270 C (#A696D4). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Indigo 400?

The closest RAL Classic reference to Indigo 400 by ΔE2000 distance is RAL 5012 (Light blue, #3B83BD). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Indigo 400?

The complementary color (180° opposite on the HSL color wheel) of Indigo 400 is #F8EC82. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

Tailwind CSS default palette (v3)

The default color palette shipped with Tailwind CSS v3 by Tailwind Labs Inc. Use as a reference for design tokens, web color systems, and Tailwind-based design conversations. Names like 'blue-500' are the project's own naming convention.

Source type
derived
Confidence
high
License
MIT
Last reviewed
2026-05-24

Workflow tags

tailwind
design-token
web-system
purple

Tailwind palette values are designed for digital interfaces under sRGB. For print, convert to a process-appropriate value and proof against the substrate; do not rely on sRGB CMYK conversion for color-critical print work.

Tailwind CSS palette · Indigo 400 — #818CF8 | PantoneTools