HSL(266, 30%, 84%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(266,30%,84%)]

Color Conversions

Format Value CSS Usage
HSL hsl(266, 30%, 84%) color: hsl(266, 30%, 84%)
HEX #D5CAE2 color: #D5CAE2
RGB rgb(213, 202, 226) color: rgb(213, 202, 226)
CMYK cmyk(6%, 11%, 0%, 11%)
HSV hsv(268, 11%, 89%)
HWB hwb(268 79% 11%) color: hwb(268 79% 11%)
OKLCH oklch(0.8552 0.0349 306.26) color: oklch(0.8552 0.0349 306.26)
Lab lab(82.85 8.23 -10.49) color: lab(82.85 8.23 -10.49)
LCH lch(82.85 13.33 308.12) color: lch(82.85 13.33 308.12)

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.57:1
vs Black 13.38: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)

#D0D0DC — rgb(208, 208, 220)

Deuteranopia (Green-blind)

#D1D2DB — rgb(209, 210, 219)

Tritanopia (Blue-blind)

#D4D8D7 — rgb(212, 216, 215)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(266, 30%, 84%);

text

color: hsl(266, 30%, 84%);

border

border: 2px solid hsl(266, 30%, 84%);

gradient light

background: linear-gradient(to right, hsl(266, 30%, 100%), hsl(266, 30%, 84%));

gradient dark

background: linear-gradient(to right, hsl(266, 30%, 84%), hsl(266, 30%, 64%))

hex

background-color: #D5CAE2;

tailwind

bg-[hsl(266,30%,84%)]

box shadow

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

css variable

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

HEX: #D5CAE2 | RGB: rgb(213, 202, 226) | CMYK: 6%, 11%, 0%, 11% | HSV: 268°, 11%, 89%. Copy any format from the conversion table above.

What colors go well with #D5CAE2?

The complementary color is HSL(86, 30%, 84%). For a triadic harmony, use hues 266°, 26°, and 146°. For analogous combinations, try hues 236° and 296°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(266, 30%, 84%) in CSS?

As HSL: color: hsl(266, 30%, 84%); — As HEX: color: #D5CAE2; — As RGB: color: rgb(213, 202, 226); — Tailwind CSS: bg-[hsl(266,30%,84%)] — CSS variable: --color-primary: hsl(266, 30%, 84%);