HSL(217, 7%, 85%)
Grayish White — White color
Adjust Color
Color Information
Color Name
Grayish White
Color Family
White
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(217,7%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(217, 7%, 85%) | color: hsl(217, 7%, 85%) | |
| HEX | #D6D8DB | color: #D6D8DB | |
| RGB | rgb(214, 216, 219) | color: rgb(214, 216, 219) | |
| CMYK | cmyk(2%, 1%, 0%, 14%) | — | |
| HSV | hsv(216, 2%, 86%) | — | |
| HWB | hwb(216 84% 14%) | color: hwb(216 84% 14%) | |
| OKLCH | oklch(0.8816 0.0047 258.33) | color: oklch(0.8816 0.0047 258.33) | |
| Lab | lab(86.27 -0.13 -1.71) | color: lab(86.27 -0.13 -1.71) | |
| LCH | lch(86.27 1.71 265.65) | color: lch(86.27 1.71 265.65) |
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)
#D7D7DA — rgb(215, 215, 218)
Deuteranopia (Green-blind)
#D7D7DA — rgb(215, 215, 218)
Tritanopia (Blue-blind)
#D6DADA — rgb(214, 218, 218)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(217, 7%, 85%);
text
color: hsl(217, 7%, 85%);
border
border: 2px solid hsl(217, 7%, 85%);
gradient light
background: linear-gradient(to right, hsl(217, 7%, 100%), hsl(217, 7%, 85%));
gradient dark
background: linear-gradient(to right, hsl(217, 7%, 85%), hsl(217, 7%, 65%))
hex
background-color: #D6D8DB;
tailwind
bg-[hsl(217,7%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(217, 7%, 85%, 0.4);
css variable
--color-primary: hsl(217, 7%, 85%);
Related Colors
Use Cases for Grayish White
Frequently Asked Questions
What are all the color codes for HSL(217, 7%, 85%)?
HEX: #D6D8DB | RGB: rgb(214, 216, 219) | CMYK: 2%, 1%, 0%, 14% | HSV: 216°, 2%, 86%. Copy any format from the conversion table above.
What colors go well with #D6D8DB?
The complementary color is HSL(37, 7%, 85%). For a triadic harmony, use hues 217°, 337°, and 97°. For analogous combinations, try hues 187° and 247°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(217, 7%, 85%) in CSS?
As HSL: color: hsl(217, 7%, 85%); — As HEX: color: #D6D8DB; — As RGB: color: rgb(214, 216, 219); — Tailwind CSS: bg-[hsl(217,7%,85%)] — CSS variable: --color-primary: hsl(217, 7%, 85%);