Indigo — #4B0082

The hex code for indigo is #4B0082 — rgb(75, 0, 130), hsl(275, 100%, 25%). Use it in CSS as color: #4B0082;.

Indigo is a deep blue-violet — the color of deep twilight and denim dye. It sits between blue and purple and feels rich, spiritual, and a little mysterious.

Indigo color codes — click to copy

HEX#4B0082
RGBrgb(75, 0, 130)
HSLhsl(275, 100%, 25%)
HSVhsv(275, 100%, 51%)
CMYKcmyk(42%, 100%, 0%, 49%)

Shades, tints & tones of indigo

Click any swatch to copy it.

Shades — mix with black
Tints — mix with white
Tones — mix with gray

Indigo harmonies

Click a swatch to copy it.

Complementary
Analogous
Triadic
Split Complementary
Tetradic
Square
Monochromatic

Colors that go with indigo

ColorHex
White#FFFFFF
Gold#FFD700
Silver#C0C0C0
Pink#FFC0CB

Where indigo is used

Use indigo for spiritual, creative, and premium brands. It is a classic denim color and works well with white, silver, and gold for a deep, elegant look.

What indigo is often associated with: Depth, intuition, spirituality, and richness.

Contrast — can you read text on indigo?

White text on indigo scores 12.95:1

Normal text: AA Pass   AAA Pass

Large text (18pt+, or 14pt bold+): AA Pass   AAA Pass

Black text scores 1.62:1

Normal text: AA Fail   AAA Fail

Large text (18pt+, or 14pt bold+): AA Fail   AAA Fail

Check any pair in the contrast checker →

How indigo looks with color blindness

Simulated with the Machado matrices. Click a swatch to copy the simulated color.

Protanopia

#2B2A63

Deuteranopia

#2F345B

Tritanopia

#474A44

This is a simulation for design checks, not a vision test. See the color blind simulator for any palette.

Frequently asked questions

What is the hex code for indigo?

The hex code for indigo is #4B0082.

What is the RGB of indigo?

The RGB of indigo is rgb(75, 0, 130).

What colors go with indigo?

Colors that go well with indigo include white (#FFFFFF), gold (#FFD700), silver (#C0C0C0). See the pairings table on this page for the full list.

Is indigo a good color for a website?

Indigo works well as an accent or background — white text on it scores 12.95:1, which passes WCAG AA. Check any pair in the contrast checker before you ship it.

What does the color indigo mean?

Depth, intuition, spirituality, and richness.

Related tools

Color Picker · Color Names · Palette Generator · Complementary Colors · Contrast Checker