HSL(271, 12%, 84%)
Grayish Indigo — Indigo color
Adjust Color
Color Information
Color Name
Grayish Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(271,12%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(271, 12%, 84%) | color: hsl(271, 12%, 84%) | |
| HEX | #D6D1DB | color: #D6D1DB | |
| RGB | rgb(214, 209, 219) | color: rgb(214, 209, 219) | |
| CMYK | cmyk(2%, 5%, 0%, 14%) | — | |
| HSV | hsv(270, 5%, 86%) | — | |
| HWB | hwb(270 82% 14%) | color: hwb(270 82% 14%) | |
| OKLCH | oklch(0.8676 0.0146 308.27) | color: oklch(0.8676 0.0146 308.27) | |
| Lab | lab(84.49 3.53 -4.32) | color: lab(84.49 3.53 -4.32) | |
| LCH | lch(84.49 5.58 309.25) | color: lch(84.49 5.58 309.25) |
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)
#D4D4D9 — rgb(212, 212, 217)
Deuteranopia (Green-blind)
#D4D5D8 — rgb(212, 213, 216)
Tritanopia (Blue-blind)
#D6D7D6 — rgb(214, 215, 214)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(271, 12%, 84%);
text
color: hsl(271, 12%, 84%);
border
border: 2px solid hsl(271, 12%, 84%);
gradient light
background: linear-gradient(to right, hsl(271, 12%, 100%), hsl(271, 12%, 84%));
gradient dark
background: linear-gradient(to right, hsl(271, 12%, 84%), hsl(271, 12%, 64%))
hex
background-color: #D6D1DB;
tailwind
bg-[hsl(271,12%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(271, 12%, 84%, 0.4);
css variable
--color-primary: hsl(271, 12%, 84%);
Related Colors
Use Cases for Grayish Indigo
Frequently Asked Questions
What are all the color codes for HSL(271, 12%, 84%)?
HEX: #D6D1DB | RGB: rgb(214, 209, 219) | CMYK: 2%, 5%, 0%, 14% | HSV: 270°, 5%, 86%. Copy any format from the conversion table above.
What colors go well with #D6D1DB?
The complementary color is HSL(91, 12%, 84%). For a triadic harmony, use hues 271°, 31°, and 151°. For analogous combinations, try hues 241° and 301°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(271, 12%, 84%) in CSS?
As HSL: color: hsl(271, 12%, 84%); — As HEX: color: #D6D1DB; — As RGB: color: rgb(214, 209, 219); — Tailwind CSS: bg-[hsl(271,12%,84%)] — CSS variable: --color-primary: hsl(271, 12%, 84%);