HSL(257, 22%, 84%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(257,22%,84%)]

Color Conversions

Format Value CSS Usage
HSL hsl(257, 22%, 84%) color: hsl(257, 22%, 84%)
HEX #D2CDDF color: #D2CDDF
RGB rgb(210, 205, 223) color: rgb(210, 205, 223)
CMYK cmyk(6%, 8%, 0%, 13%)
HSV hsv(257, 8%, 87%)
HWB hwb(257 80% 13%) color: hwb(257 80% 13%)
OKLCH oklch(0.8577 0.0252 298.55) color: oklch(0.8577 0.0252 298.55)
Lab lab(83.28 5.06 -8.27) color: lab(83.28 5.06 -8.27)
LCH lch(83.28 9.7 301.46) color: lch(83.28 9.7 301.46)

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.55:1
vs Black 13.54: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)

#D0D0DB — rgb(208, 208, 219)

Deuteranopia (Green-blind)

#D0D1DA — rgb(208, 209, 218)

Tritanopia (Blue-blind)

#D2D7D6 — rgb(210, 215, 214)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(257, 22%, 84%);

text

color: hsl(257, 22%, 84%);

border

border: 2px solid hsl(257, 22%, 84%);

gradient light

background: linear-gradient(to right, hsl(257, 22%, 100%), hsl(257, 22%, 84%));

gradient dark

background: linear-gradient(to right, hsl(257, 22%, 84%), hsl(257, 22%, 64%))

hex

background-color: #D2CDDF;

tailwind

bg-[hsl(257,22%,84%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(257, 22%, 84%, 0.4);

css variable

--color-primary: hsl(257, 22%, 84%);

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(257, 22%, 84%)?

HEX: #D2CDDF | RGB: rgb(210, 205, 223) | CMYK: 6%, 8%, 0%, 13% | HSV: 257°, 8%, 87%. Copy any format from the conversion table above.

What colors go well with #D2CDDF?

The complementary color is HSL(77, 22%, 84%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(257, 22%, 84%) in CSS?

As HSL: color: hsl(257, 22%, 84%); — As HEX: color: #D2CDDF; — As RGB: color: rgb(210, 205, 223); — Tailwind CSS: bg-[hsl(257,22%,84%)] — CSS variable: --color-primary: hsl(257, 22%, 84%);