HSL(268, 17%, 85%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(268,17%,85%)]

Color Conversions

Format Value CSS Usage
HSL hsl(268, 17%, 85%) color: hsl(268, 17%, 85%)
HEX #D8D2DF color: #D8D2DF
RGB rgb(216, 210, 223) color: rgb(216, 210, 223)
CMYK cmyk(3%, 6%, 0%, 13%)
HSV hsv(268, 6%, 87%)
HWB hwb(268 82% 13%) color: hwb(268 82% 13%)
OKLCH oklch(0.8724 0.0188 306.63) color: oklch(0.8724 0.0188 306.63)
Lab lab(85.01 4.42 -5.67) color: lab(85.01 4.42 -5.67)
LCH lch(85.01 7.19 307.94) color: lch(85.01 7.19 307.94)

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.48:1
vs Black 14.2: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)

#D5D5DC — rgb(213, 213, 220)

Deuteranopia (Green-blind)

#D6D6DB — rgb(214, 214, 219)

Tritanopia (Blue-blind)

#D8D9D9 — rgb(216, 217, 217)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(268, 17%, 85%);

text

color: hsl(268, 17%, 85%);

border

border: 2px solid hsl(268, 17%, 85%);

gradient light

background: linear-gradient(to right, hsl(268, 17%, 100%), hsl(268, 17%, 85%));

gradient dark

background: linear-gradient(to right, hsl(268, 17%, 85%), hsl(268, 17%, 65%))

hex

background-color: #D8D2DF;

tailwind

bg-[hsl(268,17%,85%)]

box shadow

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

css variable

--color-primary: hsl(268, 17%, 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(268, 17%, 85%)?

HEX: #D8D2DF | RGB: rgb(216, 210, 223) | CMYK: 3%, 6%, 0%, 13% | HSV: 268°, 6%, 87%. Copy any format from the conversion table above.

What colors go well with #D8D2DF?

The complementary color is HSL(88, 17%, 85%). For a triadic harmony, use hues 268°, 28°, and 148°. For analogous combinations, try hues 238° and 298°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(268, 17%, 85%) in CSS?

As HSL: color: hsl(268, 17%, 85%); — As HEX: color: #D8D2DF; — As RGB: color: rgb(216, 210, 223); — Tailwind CSS: bg-[hsl(268,17%,85%)] — CSS variable: --color-primary: hsl(268, 17%, 85%);