Grain of Salt color: hex code #D8DBE1
Grain of Salt has the hex code #D8DBE1. It is a very light, grayish blue.
In the RGB color model it is made of 84.7% red, 85.9% green and 88.2% blue (216, 219, 225).
Its hue angle is 220°, with 13% saturation and 86% lightness. For print, the CMYK equivalent is 4% cyan, 3% magenta, 0% yellow and 12% black.
Black text is the more readable choice on this background (contrast 15.14:1).
Grain of Salt (#D8DBE1) color codes
| HEX | #D8DBE1 | |
|---|---|---|
| RGB | rgb(216, 219, 225) | |
| RGB percent | rgb(84.7%, 85.9%, 88.2%) | |
| HSL | hsl(220, 13%, 86%) | |
| HSV / HSB | hsv(220, 4%, 88%) | |
| CMYK | cmyk(4%, 3%, 0%, 12%) | |
| CIE LAB | lab(87.34, 0.09, -3.29) | |
| CIE LCH | lch(87.34, 3.29, 271.62) | |
| CIE XYZ | xyz(67.239, 70.698, 81.323) | |
| Decimal | 14212065 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Grain of Salt, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #D8DBE1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.14:1 | Pass | Pass | Pass |
| Sample text | 1.39:1 | Fail | Fail | Fail |
| #D8DBE1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.39:1 | Fail | Fail | Fail |
| Sample text | 15.14:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #D8DBE1 looks to people with the most common types of color vision deficiency.
#d9dbe1Protanopia
no red cones#d8dae1Deuteranopia
no green cones#d6dcddTritanopia
no blue cones#dbdbdbAchromatopsia
no color vision
CSS examples
.background { background-color: #d8dbe1; }
.text { color: #d8dbe1; }
.border { border: 2px solid #d8dbe1; }
.transparent { background-color: rgb(216 219 225 / 50%); }
.gradient { background: linear-gradient(to right, #d8dbe1, #dad8e1); }
Similar colors
#dadbe1Big Fish to Fry#dadbe2Muffled White#dfdfe5Festive Ferret#dedee5White Elephant#dddfe8Delicate Cloud#dde2e6Bright Star#d3dbe2Skyscraper#dfe0e2Wind Chime
Closest common color name: Gainsboro.
See #D8DBE1 on its hex code page
Questions
- What color is #D8DBE1?
- #D8DBE1 is a very light, grayish blue known as Grain of Salt. It belongs to the gray family of colors.
- What is the RGB value of Grain of Salt?
- The RGB value is 216, 219, 225: 216 red, 219 green and 225 blue on a 0 to 255 scale.
- What is the complementary color of Grain of Salt?
- The complementary color is #E1DED8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D8DBE1?
- Black text. Black text has a contrast ratio of 15.14:1 and white text 1.39:1. WCAG asks for at least 4.5:1 for normal text.