HSL(263, 20%, 61%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(263, 20%, 61%) color: hsl(263, 20%, 61%)
HEX #9788AF color: #9788AF
RGB rgb(151, 136, 175) color: rgb(151, 136, 175)
CMYK cmyk(14%, 22%, 0%, 31%)
HSV hsv(263, 22%, 69%)
HWB hwb(263 54% 31%) color: hwb(263 54% 31%)
OKLCH oklch(0.6537 0.0595 302.34) color: oklch(0.6537 0.0595 302.34)
Lab lab(59.24 13.49 -18.45) color: lab(59.24 13.49 -18.45)
LCH lch(59.24 22.86 306.17) color: lch(59.24 22.86 306.17)

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.25:1
vs Black 6.46: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)

#9190A6 — rgb(145, 144, 166)

Deuteranopia (Green-blind)

#9193A3 — rgb(145, 147, 163)

Tritanopia (Blue-blind)

#969E9C — rgb(150, 158, 156)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(263, 20%, 81%), hsl(263, 20%, 61%));

gradient dark

background: linear-gradient(to right, hsl(263, 20%, 61%), hsl(263, 20%, 41%))

hex

background-color: #9788AF;

tailwind

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

box shadow

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

css variable

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

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%, 61%)?

HEX: #9788AF | RGB: rgb(151, 136, 175) | CMYK: 14%, 22%, 0%, 31% | HSV: 263°, 22%, 69%. Copy any format from the conversion table above.

What colors go well with #9788AF?

The complementary color is HSL(83, 20%, 61%). 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%, 61%) in CSS?

As HSL: color: hsl(263, 20%, 61%); — As HEX: color: #9788AF; — As RGB: color: rgb(151, 136, 175); — Tailwind CSS: bg-[hsl(263,20%,61%)] — CSS variable: --color-primary: hsl(263, 20%, 61%);