Skip to content

#e2e8f2

a pale, soft blue · cool · closest name: Alice Blue

RGB
226, 232, 242
HSL
218°, 38%, 92%
CMYK
7, 4, 0, 5
Luminance
0.8029

At a glance

Every number on this page in one read: what #e2e8f2 is made of, how bright it looks, and which way it leans.

Hex
#e2e8f2
Hue
218°
blue
Saturation
38%
soft
Lightness
92%
pale
Brightness
95%
HSV value
Perceived
91%
weighted brightness
Luminance
0.8029
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
17.06:1
Closest name
Alice Blue
ΔE2000 3.8
Where it sits
Hue218° of 360°
Saturation38%
Lightness92%
Temperature
Warm ← → Cool96% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#e2e8f2
RGBrgb(226, 232, 242)
HSLhsl(218, 38%, 92%)
CMYKcmyk(7%, 4%, 0%, 5%)
LABlab(91.8 -0.1 -5.5)
LCHlch(91.8 5.5 268.5)
OKLCHoklch(0.929 0.015 260.7)
Decimal14870770
Display P3color(display-p3 0.886 0.910 0.949)

Copy-ready code

/* CSS */
color: #e2e8f2;
background-color: #e2e8f2;
/* Tailwind (arbitrary) */
class="text-[#e2e8f2] bg-[#e2e8f2]"
/* SCSS */
$brand: #e2e8f2;
/* SwiftUI */
Color(red: 0.886, green: 0.910, blue: 0.949)
/* Android */
Color.parseColor("#e2e8f2")
/* Flutter */
Color(0xFFE2E8F2)
/* Python / OpenCV (BGR) */
(242, 232, 226)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #e2e8f2 · 17.06:1
Use #000000AAA at every size.
Aa
White text · 1.23:1
AA fail · AA large fail · AAA fail
Aa
Black text · 17.06:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #e2e8f2 as text scores 1.23:1 on white and 17.06:1 on black.

Accessibility — WCAG contrast

Aa
#e2e8f2 on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#e2e8f2 on black: 17.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E5E8F3
deuteranopia · #E3E7F2
tritanopia · #DFEAEB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #e2e8f2 is pinned to step 100; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F5F7FA
#e2e8f2
#D3DBE9
#B2C2DC
#8BA3CB
#6484BA
#4C6FA9
#3F5C8D
#334A71
#283853
#192334
Base = 100Lightest = 50 · #F5F7FADarkest = 950 · #192334
:root {
  --brand-50: #F5F7FA;
  --brand-100: #e2e8f2;
  --brand-200: #D3DBE9;
  --brand-300: #B2C2DC;
  --brand-400: #8BA3CB;
  --brand-500: #6484BA;
  --brand-600: #4C6FA9;
  --brand-700: #3F5C8D;
  --brand-800: #334A71;
  --brand-900: #283853;
  --brand-950: #192334;
  --brand: #e2e8f2;
  --brand-ink: #000000;
}

Colors that work with #e2e8f2

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F7FA
Tinted page background
Border#C7D2E6
Hairlines and dividers
Muted text#4B699B
Captions on the surface
Accent#925C3A
Second voice, not a rival
Dark variant#273A58
Hover, pressed, headers
Light variant#EDF1F7
Selected rows, tints
Dark surface#141A24
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #e2e8f2

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#F2ECE2
Analogous left#E2F0F2
Analogous right#E4E2F2
Split-complement 1#F2E4E2
Split-complement 2#F0F2E2
Triadic 1#F2E2E8
Triadic 2#E8F2E2
Tetradic#F2E2F0

RGB percentages

Red88.6%
Green91.0%
Blue94.9%

CMYK percentages

Cyan6.6%
Magenta4.1%
Yellow0.0%
Key (black)5.1%

Color previews

#e2e8f2 text on a black background

contrast 17.06:1

Card sample

#e2e8f2 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #e2e8f2;
Background color
Panel with #e2e8f2 background
background-color: #e2e8f2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #e2e8f2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(226, 232, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(226, 232, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e2e8f2;
background: linear-gradient(135deg, #e2e8f2, #E7E2F2);

Monochromatic scale

Palettes built from #e2e8f2

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#e2e8f2 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Very light tints can drop out on uncoated stock; check it at 100% size before signing off.

#e2e8f2, answered

What color is #e2e8f2?

#e2e8f2 is a pale soft blue, closest to Alice Blue (ΔE2000 3.8). It sits at 218° on the hue wheel with 38% saturation and 92% lightness, which reads as cool.

What is the RGB value of #e2e8f2?

rgb(226, 232, 242) — 226 red, 232 green and 242 blue out of 255, or 88.6% / 91% / 94.9% by channel.

Is #e2e8f2 a light or a dark color?

It is a light color. Relative luminance is 0.8029 and perceived brightness is 91%, so black text on it reaches 17.06:1.

Should I use black or white text on #e2e8f2?

Black. It scores 17.06:1 against #e2e8f2, versus 1.23:1 for white — AAA at any size.

What is the complementary color of #e2e8f2?

#F2ECE2 sits directly opposite on the wheel. Softer options are the split-complements #F2E4E2 and #F0F2E2, which give the same contrast with far less vibration.

What colors go well with #e2e8f2?

For interface work: #F4F7FA as the surface, #C7D2E6 for borders, #4B699B for secondary text, #925C3A as an accent and #273A58 for hover and pressed states. For a palette, the analogous pair #E2F0F2 and #E4E2F2 stays calm, while #F2ECE2 is the loudest partner.

What is #e2e8f2 in CMYK for printing?

cmyk(7%, 4%, 0%, 5%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #e2e8f2 warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E2E2F2; nudged cooler, #D0DCEB.

Work with #e2e8f2 in the Color Lab