HSL(263, 20%, 56%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(263,20%,56%)]

Color Conversions

Format Value CSS Usage
HSL hsl(263, 20%, 56%) color: hsl(263, 20%, 56%)
HEX #8A78A5 color: #8A78A5
RGB rgb(138, 120, 165) color: rgb(138, 120, 165)
CMYK cmyk(16%, 27%, 0%, 35%)
HSV hsv(264, 27%, 65%)
HWB hwb(264 47% 35%) color: hwb(264 47% 35%)
OKLCH oklch(0.6058 0.07 302.67) color: oklch(0.6058 0.07 302.67)
Lab lab(53.55 16.19 -21.5) color: lab(53.55 16.19 -21.5)
LCH lch(53.55 26.91 306.98) color: lch(53.55 26.91 306.98)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 3.95:1
vs Black 5.31:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#82829A — rgb(130, 130, 154)

Deuteranopia (Green-blind)

#838598 — rgb(131, 133, 152)

Tritanopia (Blue-blind)

#899290 — rgb(137, 146, 144)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(263, 20%, 56%);

text

color: hsl(263, 20%, 56%);

border

border: 2px solid hsl(263, 20%, 56%);

gradient light

background: linear-gradient(to right, hsl(263, 20%, 76%), hsl(263, 20%, 56%));

gradient dark

background: linear-gradient(to right, hsl(263, 20%, 56%), hsl(263, 20%, 36%))

hex

background-color: #8A78A5;

tailwind

bg-[hsl(263,20%,56%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(263, 20%, 56%, 0.4);

css variable

--color-primary: hsl(263, 20%, 56%);

Related Colors

Use Cases for Indigo

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(263, 20%, 56%)?

HEX: #8A78A5 | RGB: rgb(138, 120, 165) | CMYK: 16%, 27%, 0%, 35% | HSV: 264°, 27%, 65%. Copy any format from the conversion table above.

What colors go well with #8A78A5?

The complementary color is HSL(83, 20%, 56%). For a triadic harmony, use hues 263°, 23°, and 143°. For analogous combinations, try hues 233° and 293°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(263, 20%, 56%) in CSS?

As HSL: color: hsl(263, 20%, 56%); — As HEX: color: #8A78A5; — As RGB: color: rgb(138, 120, 165); — Tailwind CSS: bg-[hsl(263,20%,56%)] — CSS variable: --color-primary: hsl(263, 20%, 56%);