Skip to content

#e7ebfa

a pale, vivid blue · cool · closest name: Lavender

RGB
231, 235, 250
HSL
227°, 66%, 94%
CMYK
8, 6, 0, 2
Luminance
0.8331

At a glance

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

Hex
#e7ebfa
Hue
227°
blue
Saturation
66%
vivid
Lightness
94%
pale
Brightness
98%
HSV value
Perceived
92%
weighted brightness
Luminance
0.8331
WCAG relative
Temperature
Cool
90/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
17.66:1
Closest name
Lavender
ΔE2000 3.2
Where it sits
Hue227° of 360°
Saturation66%
Lightness94%
Temperature
Warm ← → Cool90% 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#e7ebfa
RGBrgb(231, 235, 250)
HSLhsl(227, 66%, 94%)
CMYKcmyk(8%, 6%, 0%, 2%)
LABlab(93.2 1.4 -7.7)
LCHlch(93.2 7.8 280.7)
OKLCHoklch(0.941 0.021 274.0)
Decimal15199226
Display P3color(display-p3 0.906 0.922 0.980)

Copy-ready code

/* CSS */
color: #e7ebfa;
background-color: #e7ebfa;
/* Tailwind (arbitrary) */
class="text-[#e7ebfa] bg-[#e7ebfa]"
/* SCSS */
$brand: #e7ebfa;
/* SwiftUI */
Color(red: 0.906, green: 0.922, blue: 0.980)
/* Android */
Color.parseColor("#e7ebfa")
/* Flutter */
Color(0xFFE7EBFA)
/* Python / OpenCV (BGR) */
(250, 235, 231)

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 #e7ebfa · 17.66:1
Use #000000AAA at every size.
Aa
White text · 1.19:1
AA fail · AA large fail · AAA fail
Aa
Black text · 17.66:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #e7ebfa as text scores 1.19:1 on white and 17.66:1 on black.

Accessibility — WCAG contrast

Aa
#e7ebfa on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#e7ebfa on black: 17.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E7ECFB
deuteranopia · #E6EBFA
tritanopia · #E3EEF0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #e7ebfa 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.

#F3F5FB
#e7ebfa
#CBD3F1
#A2B2EC
#748BE2
#4564D8
#2A4CCB
#233FA9
#1C3387
#182862
#0F193D
Base = 100Lightest = 50 · #F3F5FBDarkest = 950 · #0F193D
:root {
  --brand-50: #F3F5FB;
  --brand-100: #e7ebfa;
  --brand-200: #CBD3F1;
  --brand-300: #A2B2EC;
  --brand-400: #748BE2;
  --brand-500: #4564D8;
  --brand-600: #2A4CCB;
  --brand-700: #233FA9;
  --brand-800: #1C3387;
  --brand-900: #182862;
  --brand-950: #0F193D;
  --brand: #e7ebfa;
  --brand-ink: #000000;
}

Colors that work with #e7ebfa

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#F4F6FA
Tinted page background
Border#C0C9ED
Hairlines and dividers
Muted text#4B5B9B
Captions on the surface
Accent#B0691C
Second voice, not a rival
Dark variant#16286A
Hover, pressed, headers
Light variant#EAEDFB
Selected rows, tints
Dark surface#141724
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 #e7ebfa

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

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • 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#FAF6E7
Analogous left#E7F4FA
Analogous right#ECE7FA
Split-complement 1#FAECE7
Split-complement 2#F4FAE7
Triadic 1#FAE7EB
Triadic 2#EBFAE7
Tetradic#FAE7F4

RGB percentages

Red90.6%
Green92.2%
Blue98.0%

CMYK percentages

Cyan7.6%
Magenta6.0%
Yellow0.0%
Key (black)2.0%

Color previews

#e7ebfa text on a black background

contrast 17.66:1

Card sample

#e7ebfa text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(231, 235, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(231, 235, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e7ebfa;
background: linear-gradient(135deg, #e7ebfa, #F0E7FA);

Monochromatic scale

Palettes built from #e7ebfa

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.

#e7ebfa 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.

#e7ebfa, answered

What color is #e7ebfa?

#e7ebfa is a pale vivid blue, closest to Lavender (ΔE2000 3.2). It sits at 227° on the hue wheel with 66% saturation and 94% lightness, which reads as cool.

What is the RGB value of #e7ebfa?

rgb(231, 235, 250) — 231 red, 235 green and 250 blue out of 255, or 90.6% / 92.2% / 98% by channel.

Is #e7ebfa a light or a dark color?

It is a light color. Relative luminance is 0.8331 and perceived brightness is 92%, so black text on it reaches 17.66:1.

Should I use black or white text on #e7ebfa?

Black. It scores 17.66:1 against #e7ebfa, versus 1.19:1 for white — AAA at any size.

What is the complementary color of #e7ebfa?

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

What colors go well with #e7ebfa?

For interface work: #F4F6FA as the surface, #C0C9ED for borders, #4B5B9B for secondary text, #B0691C as an accent and #16286A for hover and pressed states. For a palette, the analogous pair #E7F4FA and #ECE7FA stays calm, while #FAF6E7 is the loudest partner.

What is #e7ebfa in CMYK for printing?

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

Is #e7ebfa warm or cool?

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

Work with #e7ebfa in the Color Lab