HSL(231, 2%, 84%)
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(231,2%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 2%, 84%) | color: hsl(231, 2%, 84%) | |
| HEX | #D5D6D7 | color: #D5D6D7 | |
| RGB | rgb(213, 214, 215) | color: rgb(213, 214, 215) | |
| CMYK | cmyk(1%, 0%, 0%, 16%) | — | |
| HSV | hsv(210, 1%, 84%) | — | |
| HWB | hwb(210 83% 16%) | color: hwb(210 83% 16%) | |
| OKLCH | oklch(0.8756 0.0018 247.84) | color: oklch(0.8756 0.0018 247.84) | |
| Lab | lab(85.58 -0.16 -0.61) | color: lab(85.58 -0.16 -0.61) | |
| LCH | lch(85.58 0.63 255.3) | color: lch(85.58 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)
#D5D5D7 — rgb(213, 213, 215)
Deuteranopia (Green-blind)
#D5D5D7 — rgb(213, 213, 215)
Tritanopia (Blue-blind)
#D5D7D7 — rgb(213, 215, 215)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 2%, 84%);
text
color: hsl(231, 2%, 84%);
border
border: 2px solid hsl(231, 2%, 84%);
gradient light
background: linear-gradient(to right, hsl(231, 2%, 100%), hsl(231, 2%, 84%));
gradient dark
background: linear-gradient(to right, hsl(231, 2%, 84%), hsl(231, 2%, 64%))
hex
background-color: #D5D6D7;
tailwind
bg-[hsl(231,2%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 2%, 84%, 0.4);
css variable
--color-primary: hsl(231, 2%, 84%);
Related Colors
Use Cases for Grayish White
Frequently Asked Questions
What are all the color codes for HSL(231, 2%, 84%)?
HEX: #D5D6D7 | RGB: rgb(213, 214, 215) | CMYK: 1%, 0%, 0%, 16% | HSV: 210°, 1%, 84%. Copy any format from the conversion table above.
What colors go well with #D5D6D7?
The complementary color is HSL(51, 2%, 84%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 2%, 84%) in CSS?
As HSL: color: hsl(231, 2%, 84%); — As HEX: color: #D5D6D7; — As RGB: color: rgb(213, 214, 215); — Tailwind CSS: bg-[hsl(231,2%,84%)] — CSS variable: --color-primary: hsl(231, 2%, 84%);