HSL(258, 21%, 85%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(258,21%,85%)]

Color Conversions

Format Value CSS Usage
HSL hsl(258, 21%, 85%) color: hsl(258, 21%, 85%)
HEX #D6D1E1 color: #D6D1E1
RGB rgb(214, 209, 225) color: rgb(214, 209, 225)
CMYK cmyk(5%, 7%, 0%, 12%)
HSV hsv(259, 7%, 88%)
HWB hwb(259 82% 12%) color: hwb(259 82% 12%)
OKLCH oklch(0.8695 0.0224 300.16) color: oklch(0.8695 0.0224 300.16)
Lab lab(84.66 4.66 -7.27) color: lab(84.66 4.66 -7.27)
LCH lch(84.66 8.64 302.66) color: lch(84.66 8.64 302.66)

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 1.49:1
vs Black 14.07:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#D4D4DD — rgb(212, 212, 221)

Deuteranopia (Green-blind)

#D4D5DC — rgb(212, 213, 220)

Tritanopia (Blue-blind)

#D6DAD9 — rgb(214, 218, 217)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(258, 21%, 85%);

text

color: hsl(258, 21%, 85%);

border

border: 2px solid hsl(258, 21%, 85%);

gradient light

background: linear-gradient(to right, hsl(258, 21%, 100%), hsl(258, 21%, 85%));

gradient dark

background: linear-gradient(to right, hsl(258, 21%, 85%), hsl(258, 21%, 65%))

hex

background-color: #D6D1E1;

tailwind

bg-[hsl(258,21%,85%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(258, 21%, 85%, 0.4);

css variable

--color-primary: hsl(258, 21%, 85%);

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(258, 21%, 85%)?

HEX: #D6D1E1 | RGB: rgb(214, 209, 225) | CMYK: 5%, 7%, 0%, 12% | HSV: 259°, 7%, 88%. Copy any format from the conversion table above.

What colors go well with #D6D1E1?

The complementary color is HSL(78, 21%, 85%). For a triadic harmony, use hues 258°, 18°, and 138°. For analogous combinations, try hues 228° and 288°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(258, 21%, 85%) in CSS?

As HSL: color: hsl(258, 21%, 85%); — As HEX: color: #D6D1E1; — As RGB: color: rgb(214, 209, 225); — Tailwind CSS: bg-[hsl(258,21%,85%)] — CSS variable: --color-primary: hsl(258, 21%, 85%);