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
White text on this color
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.
50
#EFEEF5
#EFEEF5
100
#DEDEEB
#DEDEEB
200
#BDBCD7
#BDBCD7
300
#9897C0
#9897C0
400
#6562A1
#6562A1
500
#312E81
#312E81
600
#2A276E
#2A276E
700
#201E54
#201E54
800
#16153A
#16153A
900
#0C0C20
#0C0C20
950
#06060F
#06060F
Lighter tints (mixed with white)
15%
#74749D
30%
#9A99B4
45%
#B6B6C7
60%
#CDCDD8
75%
#E2E2E8
Darker shades (mixed with black)
15%
#2D2A78
30%
#28266D
45%
#232161
60%
#1D1B54
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
#312E81
#312E81
#7D7F2E
#7D7F2E
Triadic
Three colors 120° apart
#312E81
#312E81
#7F312E
#7F312E
#2E7F31
#2E7F31
Analogous
Two neighbors ±30° on the wheel
#2E547F
#2E547F
#312E81
#312E81
#592E7F
#592E7F
Split-complementary
Base + two colors flanking its complement
#312E81
#312E81
#7F592E
#7F592E
#547F2E
#547F2E
Tetradic
Two complementary pairs
#312E81
#312E81
#7F2E7D
#7F2E7D
#7D7F2E
#7D7F2E
#2E7F31
#2E7F31
Square
Four colors evenly spaced 90° apart
#312E81
#312E81
#7F2E54
#7F2E54
#7D7F2E
#7D7F2E
#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.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 5005
#1E2460
Signal blue
RAL 5017
#063971
Traffic blue
RAL 5002
#20214F
Ultramarine blue
RAL 5022
#252850
Night blue
RAL 5020
#1D334A
Ocean blue
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 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.