#E4E4E7 color
The swatch above shows #E4E4E7 with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.
#E4E4E7 is a very light, desaturated grey, closest to the CSS named color lavender (#E6E6FA).
It is also a Tailwind CSS default: zinc-200. That means you can write bg-zinc-200 or text-zinc-200 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #E4E4E7 |
| RGB | rgb(228, 228, 231) |
| HSL | hsl(240, 6%, 90%) |
| CMYK | cmyk(1%, 1%, 0%, 9%) |
| Decimal | 15000807 |
| CSS | color: #E4E4E7; |
| Android | 0xFFE4E4E7 |
| Swift | UIColor(red: 0.894, green: 0.894, blue: 0.906, alpha: 1) |
Accessibility and contrast
| White text on #E4E4E7 | 1.27:1 — AA fail · AA large fail · AAA fail |
| Black text on #E4E4E7 | 16.55:1 — AA pass · AA large pass · AAA pass |
| Recommended text color | black |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #E4E4E7
Each swatch keeps the hue and saturation of #E4E4E7 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #E4E4E7
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #E4E4E7 in code
/* CSS */
.element { color: #E4E4E7; background-color: #E4E4E7; }
.element { color: rgb(228 228 231); }
.element { color: hsl(240 6% 90%); }
/* Tailwind */
<div class="bg-zinc-200 text-black">
/* SCSS variable */
$brand: #E4E4E7;
Frequently asked questions
What color is #E4E4E7?
#E4E4E7 is a very light, desaturated grey. Its hue sits at 240° on the color wheel, with 6% saturation and 90% lightness.
What is #E4E4E7 in RGB?
#E4E4E7 converts to rgb(228, 228, 231) — 228 red, 228 green and 231 blue.
What is #E4E4E7 in CMYK?
Approximately cmyk(1%, 1%, 0%, 9%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #E4E4E7 be white or black?
Black gives the better contrast ratio (16.55:1 versus 1.27:1).
What is the complementary color of #E4E4E7?
#E7E7E4 — the hue directly opposite #E4E4E7 on the color wheel.