#E7E7EC color
The hex color #E7E7EC is a very light, grayish blue.
In the RGB color model it is made of 90.6% red, 90.6% green and 92.5% blue (231, 231, 236).
Its hue angle is 240°, with 12% saturation and 92% lightness. For print, the CMYK equivalent is 2% cyan, 2% magenta, 0% yellow and 7% black.
The closest named color is Diamond Cut (#E9E9F0), a difference of 1.1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 17.04:1).
#E7E7EC color codes
| HEX | #E7E7EC | |
|---|---|---|
| RGB | rgb(231, 231, 236) | |
| RGB percent | rgb(90.6%, 90.6%, 92.5%) | |
| HSL | hsl(240, 12%, 92%) | |
| HSV / HSB | hsv(240, 2%, 93%) | |
| CMYK | cmyk(2%, 2%, 0%, 7%) | |
| CIE LAB | lab(91.77, 0.9, -2.42) | |
| CIE LCH | lch(91.77, 2.58, 290.38) | |
| CIE XYZ | xyz(76.669, 80.197, 90.781) | |
| Decimal | 15198188 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #E7E7EC, 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 #E7E7EC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.04:1 | Pass | Pass | Pass |
| Sample text | 1.23:1 | Fail | Fail | Fail |
| #E7E7EC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.04: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 #E7E7EC looks to people with the most common types of color vision deficiency.
#e6e8ecProtanopia
no red cones#e6e7ecDeuteranopia
no green cones#e6e8e9Tritanopia
no blue cones#e7e7e7Achromatopsia
no color vision
CSS examples
.background { background-color: #e7e7ec; }
.text { color: #e7e7ec; }
.border { border: 2px solid #e7e7ec; }
.transparent { background-color: rgb(231 231 236 / 50%); }
.gradient { background: linear-gradient(to right, #e7e7ec, #eae7ec); }
Similar colors
#e9e9f0Diamond Cut#dfdfe5Festive Ferret#ebecf5Silver Phoenix#ede9efGreek Goddess#efeceeSheikh White#dedee5White Elephant#e1dfe1Chrome#dfe0e2Wind Chime
Closest common color name: Gainsboro.
Questions
- What color is #E7E7EC?
- #E7E7EC is a very light, grayish blue, closest to the named color Diamond Cut. It belongs to the gray family of colors.
- What is the RGB value of #E7E7EC?
- The RGB value is 231, 231, 236: 231 red, 231 green and 236 blue on a 0 to 255 scale.
- What is the complementary color of #E7E7EC?
- The complementary color is #ECECE7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #E7E7EC?
- Black text. Black text has a contrast ratio of 17.04:1 and white text 1.23:1. WCAG asks for at least 4.5:1 for normal text.