HSL(276, 20%, 84%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(276,20%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(276, 20%, 84%) | color: hsl(276, 20%, 84%) | |
| HEX | #D8CEDE | color: #D8CEDE | |
| RGB | rgb(216, 206, 222) | color: rgb(216, 206, 222) | |
| CMYK | cmyk(3%, 7%, 0%, 13%) | — | |
| HSV | hsv(278, 7%, 87%) | — | |
| HWB | hwb(278 81% 13%) | color: hwb(278 81% 13%) | |
| OKLCH | oklch(0.8642 0.0243 313.11) | color: oklch(0.8642 0.0243 313.11) | |
| Lab | lab(83.97 6.35 -6.66) | color: lab(83.97 6.35 -6.66) | |
| LCH | lch(83.97 9.2 313.64) | color: lch(83.97 9.2 313.64) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#D4D4DA — rgb(212, 212, 218)
Deuteranopia (Green-blind)
#D4D5D9 — rgb(212, 213, 217)
Tritanopia (Blue-blind)
#D8D7D6 — rgb(216, 215, 214)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(276, 20%, 84%);
text
color: hsl(276, 20%, 84%);
border
border: 2px solid hsl(276, 20%, 84%);
gradient light
background: linear-gradient(to right, hsl(276, 20%, 100%), hsl(276, 20%, 84%));
gradient dark
background: linear-gradient(to right, hsl(276, 20%, 84%), hsl(276, 20%, 64%))
hex
background-color: #D8CEDE;
tailwind
bg-[hsl(276,20%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(276, 20%, 84%, 0.4);
css variable
--color-primary: hsl(276, 20%, 84%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(276, 20%, 84%)?
HEX: #D8CEDE | RGB: rgb(216, 206, 222) | CMYK: 3%, 7%, 0%, 13% | HSV: 278°, 7%, 87%. Copy any format from the conversion table above.
What colors go well with #D8CEDE?
The complementary color is HSL(96, 20%, 84%). For a triadic harmony, use hues 276°, 36°, and 156°. For analogous combinations, try hues 246° and 306°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(276, 20%, 84%) in CSS?
As HSL: color: hsl(276, 20%, 84%); — As HEX: color: #D8CEDE; — As RGB: color: rgb(216, 206, 222); — Tailwind CSS: bg-[hsl(276,20%,84%)] — CSS variable: --color-primary: hsl(276, 20%, 84%);