Skip to content
PantoneTools
purple
Tailwind CSS palette

Indigo 900

indigo-900 · #312E81

HEX

#312E81

RGB

rgb(49, 46, 129)

CMYK

cmyk(62%, 64%, 0%, 49%)

HSL

hsl(242, 47%, 34%)

LAB

lab(24.3, 27.6, -46.5)

What is Indigo 900?

Indigo 900 is the indigo-900 reference in the Tailwind CSS palette. Its sRGB value is #312E81 (rgb 49, 46, 129). 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 900 as a background.

Black text on this color

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

White text on this color

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

Shades, tints & tonal scale of Indigo 900

An 11-step tonal scale derived from Indigo 900 (#312E81). 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 #EFEEF5

50

#EFEEF5

#EFEEF5

Copied #DEDEEB

100

#DEDEEB

#DEDEEB

Copied #BDBCD7

200

#BDBCD7

#BDBCD7

Copied #9897C0

300

#9897C0

#9897C0

Copied #6562A1

400

#6562A1

#6562A1

Copied #312E81

500

#312E81

#312E81

Copied #2A276E

600

#2A276E

#2A276E

Copied #201E54

700

#201E54

#201E54

Copied #16153A

800

#16153A

#16153A

Copied #0C0C20

900

#0C0C20

#0C0C20

Copied #06060F

950

#06060F

#06060F

Lighter tints (mixed with white)

Copied #74749D

15%

#74749D

Copied #9A99B4

30%

#9A99B4

Copied #B6B6C7

45%

#B6B6C7

Copied #CDCDD8

60%

#CDCDD8

Copied #E2E2E8

75%

#E2E2E8

Darker shades (mixed with black)

Copied #2D2A78

15%

#2D2A78

Copied #28266D

30%

#28266D

Copied #232161

45%

#232161

Copied #1D1B54

60%

#1D1B54

Copied #151442

75%

#151442

Color harmonies for Indigo 900

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

Complementary

180° opposite — strongest contrast

Copied #312E81

#312E81

#312E81

Copied #7D7F2E

#7D7F2E

#7D7F2E

Triadic

Three colors 120° apart

Copied #312E81

#312E81

#312E81

Copied #7F312E

#7F312E

#7F312E

Copied #2E7F31

#2E7F31

#2E7F31

Analogous

Two neighbors ±30° on the wheel

Copied #2E547F

#2E547F

#2E547F

Copied #312E81

#312E81

#312E81

Copied #592E7F

#592E7F

#592E7F

Split-complementary

Base + two colors flanking its complement

Copied #312E81

#312E81

#312E81

Copied #7F592E

#7F592E

#7F592E

Copied #547F2E

#547F2E

#547F2E

Tetradic

Two complementary pairs

Copied #312E81

#312E81

#312E81

Copied #7F2E7D

#7F2E7D

#7F2E7D

Copied #7D7F2E

#7D7F2E

#7D7F2E

Copied #2E7F31

#2E7F31

#2E7F31

Square

Four colors evenly spaced 90° apart

Copied #312E81

#312E81

#312E81

Copied #7F2E54

#7F2E54

#7F2E54

Copied #7D7F2E

#7D7F2E

#7D7F2E

Copied #2E7F59

#2E7F59

#2E7F59

Indigo 900 in every color space

Full conversion of Indigo 900 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

#312E81

RGB

rgb(49, 46, 129)

CMYK

cmyk(62%, 64%, 0%, 49%)

HSL

hsl(242, 47%, 34%)

HSV

hsv(242, 64%, 51%)

HWB

hwb(242 18% 49%)

CIE Lab

lab(24.3 27.6 -46.5)

OKLCH

oklch(35.9% 0.135 278.7)

XYZ (D65)

xyz(6.20, 4.19, 21.25)

Copy-ready code for Indigo 900

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: #312E81;
background-color: #312E81;

CSS variable

:root {
  --color-indigo-900: #312E81;
}

Tailwind config

// tailwind.config.js
colors: {
  'indigo-900': '#312E81',
}

Sass

$color-indigo-900: #312E81;

Swift UIColor

UIColor(red: 0.192, green: 0.180, blue: 0.506, alpha: 1.0)

Android XML

<color name="indigo-900">#312E81</color>

Closest match in every color system

The nearest Indigo 900 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 #1E2460

RAL 5005

#1E2460

Signal blue

Copied #063971

RAL 5017

#063971

Traffic blue

Copied #20214F

RAL 5002

#20214F

Ultramarine blue

Copied #252850

RAL 5022

#252850

Night blue

Copied #1D334A

RAL 5020

#1D334A

Ocean blue

Copied #0E294B

RAL 5010

#0E294B

Gentian blue

FAQ about Indigo 900

What is the HEX code for Indigo 900?

Indigo 900 (indigo-900) has the HEX code #312E81. In RGB it is rgb(49, 46, 129), and in CMYK it is cmyk(62%, 64%, 0%, 49%).

What is the OKLCH value of Indigo 900?

Indigo 900 converts to oklch(0.359 0.135 278.7). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Indigo 900 accessible for body text?

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

What is the closest Pantone to Indigo 900?

The closest Pantone reference to Indigo 900 by ΔE2000 perceptual distance is Pantone 269 C (#492C7F). 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 900?

The closest RAL Classic reference to Indigo 900 by ΔE2000 distance is RAL 5005 (Signal blue, #1E2460). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Indigo 900?

The complementary color (180° opposite on the HSL color wheel) of Indigo 900 is #7D7F2E. 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 900 — #312E81 | PantoneTools