HSL(257, 30%, 85%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(257,30%,85%)]

Color Conversions

Format Value CSS Usage
HSL hsl(257, 30%, 85%) color: hsl(257, 30%, 85%)
HEX #D4CDE4 color: #D4CDE4
RGB rgb(212, 205, 228) color: rgb(212, 205, 228)
CMYK cmyk(7%, 10%, 0%, 11%)
HSV hsv(258, 10%, 89%)
HWB hwb(258 80% 11%) color: hwb(258 80% 11%)
OKLCH oklch(0.8609 0.0323 299.6) color: oklch(0.8609 0.0323 299.6)
Lab lab(83.58 6.69 -10.48) color: lab(83.58 6.69 -10.48)
LCH lch(83.58 12.43 302.55) color: lch(83.58 12.43 302.55)

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.54:1
vs Black 13.65: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)

#D1D1DE — rgb(209, 209, 222)

Deuteranopia (Green-blind)

#D1D2DD — rgb(209, 210, 221)

Tritanopia (Blue-blind)

#D4DAD9 — rgb(212, 218, 217)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(257, 30%, 85%);

text

color: hsl(257, 30%, 85%);

border

border: 2px solid hsl(257, 30%, 85%);

gradient light

background: linear-gradient(to right, hsl(257, 30%, 100%), hsl(257, 30%, 85%));

gradient dark

background: linear-gradient(to right, hsl(257, 30%, 85%), hsl(257, 30%, 65%))

hex

background-color: #D4CDE4;

tailwind

bg-[hsl(257,30%,85%)]

box shadow

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

css variable

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

HEX: #D4CDE4 | RGB: rgb(212, 205, 228) | CMYK: 7%, 10%, 0%, 11% | HSV: 258°, 10%, 89%. Copy any format from the conversion table above.

What colors go well with #D4CDE4?

The complementary color is HSL(77, 30%, 85%). 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, 30%, 85%) in CSS?

As HSL: color: hsl(257, 30%, 85%); — As HEX: color: #D4CDE4; — As RGB: color: rgb(212, 205, 228); — Tailwind CSS: bg-[hsl(257,30%,85%)] — CSS variable: --color-primary: hsl(257, 30%, 85%);