HSL(275, 21%, 81%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(275,21%,81%)]

Color Conversions

Format Value CSS Usage
HSL hsl(275, 21%, 81%) color: hsl(275, 21%, 81%)
HEX #D0C4D9 color: #D0C4D9
RGB rgb(208, 196, 217) color: rgb(208, 196, 217)
CMYK cmyk(4%, 10%, 0%, 15%)
HSV hsv(274, 10%, 85%)
HWB hwb(274 77% 15%) color: hwb(274 77% 15%)
OKLCH oklch(0.8365 0.0316 310.95) color: oklch(0.8365 0.0316 310.95)
Lab lab(80.68 8.03 -8.94) color: lab(80.68 8.03 -8.94)
LCH lch(80.68 12.02 311.93) color: lch(80.68 12.02 311.93)

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.67:1
vs Black 12.58: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)

#CBCBD4 — rgb(203, 203, 212)

Deuteranopia (Green-blind)

#CCCCD3 — rgb(204, 204, 211)

Tritanopia (Blue-blind)

#CFD0CF — rgb(207, 208, 207)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(275, 21%, 81%);

text

color: hsl(275, 21%, 81%);

border

border: 2px solid hsl(275, 21%, 81%);

gradient light

background: linear-gradient(to right, hsl(275, 21%, 100%), hsl(275, 21%, 81%));

gradient dark

background: linear-gradient(to right, hsl(275, 21%, 81%), hsl(275, 21%, 61%))

hex

background-color: #D0C4D9;

tailwind

bg-[hsl(275,21%,81%)]

box shadow

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

css variable

--color-primary: hsl(275, 21%, 81%);

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(275, 21%, 81%)?

HEX: #D0C4D9 | RGB: rgb(208, 196, 217) | CMYK: 4%, 10%, 0%, 15% | HSV: 274°, 10%, 85%. Copy any format from the conversion table above.

What colors go well with #D0C4D9?

The complementary color is HSL(95, 21%, 81%). For a triadic harmony, use hues 275°, 35°, and 155°. For analogous combinations, try hues 245° and 305°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(275, 21%, 81%) in CSS?

As HSL: color: hsl(275, 21%, 81%); — As HEX: color: #D0C4D9; — As RGB: color: rgb(208, 196, 217); — Tailwind CSS: bg-[hsl(275,21%,81%)] — CSS variable: --color-primary: hsl(275, 21%, 81%);