HSL(218, 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(218,3%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(218, 3%, 85%) | color: hsl(218, 3%, 85%) | |
| HEX | #D8D8DA | color: #D8D8DA | |
| RGB | rgb(216, 216, 218) | color: rgb(216, 216, 218) | |
| CMYK | cmyk(1%, 1%, 0%, 15%) | — | |
| HSV | hsv(240, 1%, 85%) | — | |
| HWB | hwb(240 84% 15%) | color: hwb(240 84% 15%) | |
| OKLCH | oklch(0.8828 0.0027 286.34) | color: oklch(0.8828 0.0027 286.34) | |
| Lab | lab(86.39 0.36 -0.98) | color: lab(86.39 0.36 -0.98) | |
| LCH | lch(86.39 1.04 290.17) | color: lch(86.39 1.04 290.17) |
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)
#D8D8D9 — rgb(216, 216, 217)
Tritanopia (Blue-blind)
#D8D9D9 — rgb(216, 217, 217)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(218, 3%, 85%);
text
color: hsl(218, 3%, 85%);
border
border: 2px solid hsl(218, 3%, 85%);
gradient light
background: linear-gradient(to right, hsl(218, 3%, 100%), hsl(218, 3%, 85%));
gradient dark
background: linear-gradient(to right, hsl(218, 3%, 85%), hsl(218, 3%, 65%))
hex
background-color: #D8D8DA;
tailwind
bg-[hsl(218,3%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(218, 3%, 85%, 0.4);
css variable
--color-primary: hsl(218, 3%, 85%);
Related Colors
Use Cases for Grayish White
Frequently Asked Questions
What are all the color codes for HSL(218, 3%, 85%)?
HEX: #D8D8DA | RGB: rgb(216, 216, 218) | CMYK: 1%, 1%, 0%, 15% | HSV: 240°, 1%, 85%. Copy any format from the conversion table above.
What colors go well with #D8D8DA?
The complementary color is HSL(38, 3%, 85%). For a triadic harmony, use hues 218°, 338°, and 98°. For analogous combinations, try hues 188° and 248°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(218, 3%, 85%) in CSS?
As HSL: color: hsl(218, 3%, 85%); — As HEX: color: #D8D8DA; — As RGB: color: rgb(216, 216, 218); — Tailwind CSS: bg-[hsl(218,3%,85%)] — CSS variable: --color-primary: hsl(218, 3%, 85%);