HSL(288, 3%, 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(288,3%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(288, 3%, 85%) | color: hsl(288, 3%, 85%) | |
| HEX | #D9D8DA | color: #D9D8DA | |
| RGB | rgb(217, 216, 218) | color: rgb(217, 216, 218) | |
| CMYK | cmyk(0%, 1%, 0%, 15%) | — | |
| HSV | hsv(270, 1%, 85%) | — | |
| HWB | hwb(270 84% 15%) | color: hwb(270 84% 15%) | |
| OKLCH | oklch(0.8836 0.0029 308.42) | color: oklch(0.8836 0.0029 308.42) | |
| Lab | lab(86.47 0.7 -0.86) | color: lab(86.47 0.7 -0.86) | |
| LCH | lch(86.47 1.11 309.14) | color: lch(86.47 1.11 309.14) |
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)
#D9D9DA — rgb(217, 217, 218)
Deuteranopia (Green-blind)
#D9D9D9 — rgb(217, 217, 217)
Tritanopia (Blue-blind)
#D9D9D9 — rgb(217, 217, 217)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(288, 3%, 85%);
text
color: hsl(288, 3%, 85%);
border
border: 2px solid hsl(288, 3%, 85%);
gradient light
background: linear-gradient(to right, hsl(288, 3%, 100%), hsl(288, 3%, 85%));
gradient dark
background: linear-gradient(to right, hsl(288, 3%, 85%), hsl(288, 3%, 65%))
hex
background-color: #D9D8DA;
tailwind
bg-[hsl(288,3%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(288, 3%, 85%, 0.4);
css variable
--color-primary: hsl(288, 3%, 85%);
Related Colors
Use Cases for Grayish White
Frequently Asked Questions
What are all the color codes for HSL(288, 3%, 85%)?
HEX: #D9D8DA | RGB: rgb(217, 216, 218) | CMYK: 0%, 1%, 0%, 15% | HSV: 270°, 1%, 85%. Copy any format from the conversion table above.
What colors go well with #D9D8DA?
The complementary color is HSL(108, 3%, 85%). For a triadic harmony, use hues 288°, 48°, and 168°. For analogous combinations, try hues 258° and 318°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(288, 3%, 85%) in CSS?
As HSL: color: hsl(288, 3%, 85%); — As HEX: color: #D9D8DA; — As RGB: color: rgb(217, 216, 218); — Tailwind CSS: bg-[hsl(288,3%,85%)] — CSS variable: --color-primary: hsl(288, 3%, 85%);