HSL(217, 2%, 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,2%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(217, 2%, 85%) | color: hsl(217, 2%, 85%) | |
| HEX | #D8D9DA | color: #D8D9DA | |
| RGB | rgb(216, 217, 218) | color: rgb(216, 217, 218) | |
| CMYK | cmyk(1%, 0%, 0%, 15%) | — | |
| HSV | hsv(210, 1%, 85%) | — | |
| HWB | hwb(210 84% 15%) | color: hwb(210 84% 15%) | |
| OKLCH | oklch(0.8848 0.0018 247.84) | color: oklch(0.8848 0.0018 247.84) | |
| Lab | lab(86.65 -0.16 -0.61) | color: lab(86.65 -0.16 -0.61) | |
| LCH | lch(86.65 0.63 255.3) | color: lch(86.65 0.63 255.3) |
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)
#D8D8DA — rgb(216, 216, 218)
Deuteranopia (Green-blind)
#D8D8DA — rgb(216, 216, 218)
Tritanopia (Blue-blind)
#D8DADA — rgb(216, 218, 218)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(217, 2%, 85%);
text
color: hsl(217, 2%, 85%);
border
border: 2px solid hsl(217, 2%, 85%);
gradient light
background: linear-gradient(to right, hsl(217, 2%, 100%), hsl(217, 2%, 85%));
gradient dark
background: linear-gradient(to right, hsl(217, 2%, 85%), hsl(217, 2%, 65%))
hex
background-color: #D8D9DA;
tailwind
bg-[hsl(217,2%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(217, 2%, 85%, 0.4);
css variable
--color-primary: hsl(217, 2%, 85%);
Related Colors
Use Cases for Grayish White
Frequently Asked Questions
What are all the color codes for HSL(217, 2%, 85%)?
HEX: #D8D9DA | RGB: rgb(216, 217, 218) | CMYK: 1%, 0%, 0%, 15% | HSV: 210°, 1%, 85%. Copy any format from the conversion table above.
What colors go well with #D8D9DA?
The complementary color is HSL(37, 2%, 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, 2%, 85%) in CSS?
As HSL: color: hsl(217, 2%, 85%); — As HEX: color: #D8D9DA; — As RGB: color: rgb(216, 217, 218); — Tailwind CSS: bg-[hsl(217,2%,85%)] — CSS variable: --color-primary: hsl(217, 2%, 85%);