#E4E4E7

A color in the Black, Gray, White family

#e4e4e7 is a color in the Black, Gray, White family: RGB(228, 228, 231), HSL(240°, 6%, 90%), CMYK(1%, 1%, 0%, 9%). Closest named color: lavender. Contrast is 1.27:1 on white and 16.55:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#e4e4e7
RGBrgb(228 228 231)
RGB (legacy)rgb(228, 228, 231)
RGB %rgb(89% 89% 91%)
HSLhsl(240 6% 90%)
HSV / HSBhsv(240, 1%, 91%)
HWBhwb(240 89% 9%)
CMYKcmyk(1%, 1%, 0%, 9%)
CIELAB (D50)lab(90.65 0.4 -1.47)
LCHlch(90.65 1.52 285.35)
OKLaboklab(0.9197 0.0011 -0.0039)
OKLCHoklch(0.9197 0.004 286.32)
Decimal15000807

Properties

Color ToneBlack, Gray, White
Closest named colorlavender ΔE 2.5
Closest web-safe color#ccccff
Hue240°
Saturation (HSL / HSV)6% / 1%
Lightness (HSL)90%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)90% / 89%
Relative luminance (WCAG)0.7775
Red / Green / Blue228 / 228 / 231

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.27:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.55:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 13.4 / -90.5 · As background with white / black text: Lc -15.4 / 90.2

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #e4e4e7;
  --color-brand-oklch: oklch(91.97% 0.004 286.32);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(228 228 231 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e4e4e7] text-[#e4e4e7] border-[#e4e4e7]">