#D7D8EB color
The hex color #D7D8EB is a very light, desaturated blue.
In the RGB color model it is made of 84.3% red, 84.7% green and 92.2% blue (215, 216, 235).
Its hue angle is 237°, with 33% saturation and 88% lightness. For print, the CMYK equivalent is 9% cyan, 8% magenta, 0% yellow and 8% black.
The closest named color is Lavender (#E6E6FA), a difference of 3.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 14.91:1).
#D7D8EB color codes
| HEX | #D7D8EB | |
|---|---|---|
| RGB | rgb(215, 216, 235) | |
| RGB percent | rgb(84.3%, 84.7%, 92.2%) | |
| HSL | hsl(237, 33%, 88%) | |
| HSV / HSB | hsv(237, 9%, 92%) | |
| CMYK | cmyk(9%, 8%, 0%, 8%) | |
| CIE LAB | lab(86.78, 3.24, -9.41) | |
| CIE LCH | lch(86.78, 9.95, 289.01) | |
| CIE XYZ | xyz(67.573, 69.557, 88.447) | |
| Decimal | 14145771 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D7D8EB, 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 #D7D8EB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.91:1 | Pass | Pass | Pass |
| Sample text | 1.41:1 | Fail | Fail | Fail |
| #D7D8EB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.41:1 | Fail | Fail | Fail |
| Sample text | 14.91: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 #D7D8EB looks to people with the most common types of color vision deficiency.
#d4daecProtanopia
no red cones#d3d9eaDeuteranopia
no green cones#d3dbdeTritanopia
no blue cones#d9d9d9Achromatopsia
no color vision
CSS examples
.background { background-color: #d7d8eb; }
.text { color: #d7d8eb; }
.border { border: 2px solid #d7d8eb; }
.transparent { background-color: rgb(215 216 235 / 50%); }
.gradient { background: linear-gradient(to right, #d7d8eb, #e0d7eb); }
Similar colors
#e6e6faLavender#e3dfecVelvet Scarf#e1e0ebHomoeopathic Lilac#ced5e4Après-Ski#e5e0ecHomoeopathic Lavender#d6d1dcIron Maiden#cfcbe5Foggy Plateau#dddfe8Delicate Cloud
Questions
- What color is #D7D8EB?
- #D7D8EB is a very light, desaturated blue, closest to the named color Lavender. It belongs to the blue family of colors.
- What is the RGB value of #D7D8EB?
- The RGB value is 215, 216, 235: 215 red, 216 green and 235 blue on a 0 to 255 scale.
- What is the complementary color of #D7D8EB?
- The complementary color is #EBEAD7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D7D8EB?
- Black text. Black text has a contrast ratio of 14.91:1 and white text 1.41:1. WCAG asks for at least 4.5:1 for normal text.