#E5E7EB color
The swatch above shows #E5E7EB 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.
#E5E7EB is a very light, muted blue, closest to the CSS named color lavender (#E6E6FA).
It is also a Tailwind CSS default: gray-200. That means you can write bg-gray-200 or text-gray-200 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #E5E7EB |
| RGB | rgb(229, 231, 235) |
| HSL | hsl(220, 13%, 91%) |
| CMYK | cmyk(3%, 2%, 0%, 8%) |
| Decimal | 15067115 |
| CSS | color: #E5E7EB; |
| Android | 0xFFE5E7EB |
| Swift | UIColor(red: 0.898, green: 0.906, blue: 0.922, alpha: 1) |
Accessibility and contrast
| White text on #E5E7EB | 1.24:1 — AA fail · AA large fail · AAA fail |
| Black text on #E5E7EB | 16.96: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 #E5E7EB
Each swatch keeps the hue and saturation of #E5E7EB and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #E5E7EB
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #E5E7EB in code
/* CSS */
.element { color: #E5E7EB; background-color: #E5E7EB; }
.element { color: rgb(229 231 235); }
.element { color: hsl(220 13% 91%); }
/* Tailwind */
<div class="bg-gray-200 text-black">
/* SCSS variable */
$brand: #E5E7EB;
Frequently asked questions
What color is #E5E7EB?
#E5E7EB is a very light, muted blue. Its hue sits at 220° on the color wheel, with 13% saturation and 91% lightness.
What is #E5E7EB in RGB?
#E5E7EB converts to rgb(229, 231, 235) — 229 red, 231 green and 235 blue.
What is #E5E7EB in CMYK?
Approximately cmyk(3%, 2%, 0%, 8%). 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 #E5E7EB be white or black?
Black gives the better contrast ratio (16.96:1 versus 1.24:1).
What is the complementary color of #E5E7EB?
#EBE9E5 — the hue directly opposite #E5E7EB on the color wheel.