#EEF2FF color
The swatch above shows #EEF2FF 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.
#EEF2FF is a very light, vivid blue, closest to the CSS named color aliceblue (#F0F8FF).
It is also a Tailwind CSS default: indigo-50. That means you can write bg-indigo-50 or text-indigo-50 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #EEF2FF |
| RGB | rgb(238, 242, 255) |
| HSL | hsl(226, 100%, 97%) |
| CMYK | cmyk(7%, 5%, 0%, 0%) |
| Decimal | 15659775 |
| CSS | color: #EEF2FF; |
| Android | 0xFFEEF2FF |
| Swift | UIColor(red: 0.933, green: 0.949, blue: 1.000, alpha: 1) |
Accessibility and contrast
| White text on #EEF2FF | 1.12:1 — AA fail · AA large fail · AAA fail |
| Black text on #EEF2FF | 18.78: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 #EEF2FF
Each swatch keeps the hue and saturation of #EEF2FF and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #EEF2FF
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #EEF2FF in code
/* CSS */
.element { color: #EEF2FF; background-color: #EEF2FF; }
.element { color: rgb(238 242 255); }
.element { color: hsl(226 100% 97%); }
/* Tailwind */
<div class="bg-indigo-50 text-black">
/* SCSS variable */
$brand: #EEF2FF;
Frequently asked questions
What color is #EEF2FF?
#EEF2FF is a very light, vivid blue. Its hue sits at 226° on the color wheel, with 100% saturation and 97% lightness.
What is #EEF2FF in RGB?
#EEF2FF converts to rgb(238, 242, 255) — 238 red, 242 green and 255 blue.
What is #EEF2FF in CMYK?
Approximately cmyk(7%, 5%, 0%, 0%). 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 #EEF2FF be white or black?
Black gives the better contrast ratio (18.78:1 versus 1.12:1).
What is the complementary color of #EEF2FF?
#FFFBF0 — the hue directly opposite #EEF2FF on the color wheel.