HSL(278, 15%, 55%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(278,15%,55%)]

Color Conversions

Format Value CSS Usage
HSL hsl(278, 15%, 55%) color: hsl(278, 15%, 55%)
HEX #917B9D color: #917B9D
RGB rgb(145, 123, 157) color: rgb(145, 123, 157)
CMYK cmyk(8%, 22%, 0%, 38%)
HSV hsv(279, 22%, 62%)
HWB hwb(279 48% 38%) color: hwb(279 48% 38%)
OKLCH oklch(0.6151 0.0564 313.6) color: oklch(0.6151 0.0564 313.6)
Lab lab(54.68 15.04 -15.08) color: lab(54.68 15.04 -15.08)
LCH lch(54.68 21.3 314.92) color: lch(54.68 21.3 314.92)

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.8:1
vs Black 5.52: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)

#878795 — rgb(135, 135, 149)

Deuteranopia (Green-blind)

#898A93 — rgb(137, 138, 147)

Tritanopia (Blue-blind)

#908E8D — rgb(144, 142, 141)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(278, 15%, 55%);

text

color: hsl(278, 15%, 55%);

border

border: 2px solid hsl(278, 15%, 55%);

gradient light

background: linear-gradient(to right, hsl(278, 15%, 75%), hsl(278, 15%, 55%));

gradient dark

background: linear-gradient(to right, hsl(278, 15%, 55%), hsl(278, 15%, 35%))

hex

background-color: #917B9D;

tailwind

bg-[hsl(278,15%,55%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(278, 15%, 55%, 0.4);

css variable

--color-primary: hsl(278, 15%, 55%);

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(278, 15%, 55%)?

HEX: #917B9D | RGB: rgb(145, 123, 157) | CMYK: 8%, 22%, 0%, 38% | HSV: 279°, 22%, 62%. Copy any format from the conversion table above.

What colors go well with #917B9D?

The complementary color is HSL(98, 15%, 55%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(278, 15%, 55%) in CSS?

As HSL: color: hsl(278, 15%, 55%); — As HEX: color: #917B9D; — As RGB: color: rgb(145, 123, 157); — Tailwind CSS: bg-[hsl(278,15%,55%)] — CSS variable: --color-primary: hsl(278, 15%, 55%);