Skip to content

#ecf5fe

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

RGB
236, 245, 254
HSL
210°, 90%, 96%
CMYK
7, 4, 0, 0
Luminance
0.9029

At a glance

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

Hex
#ecf5fe
Hue
210°
blue
Saturation
90%
electric
Lightness
96%
pale
Brightness
100%
HSV value
Perceived
95%
weighted brightness
Luminance
0.9029
WCAG relative
Temperature
Cool
100/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
19.06:1
Closest name
Alice Blue
ΔE2000 1.1
Where it sits
Hue210° of 360°
Saturation90%
Lightness96%
Temperature
Warm ← → Cool100% 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#ecf5fe
RGBrgb(236, 245, 254)
HSLhsl(210, 90%, 96%)
CMYKcmyk(7%, 4%, 0%, 0%)
LABlab(96.1 -1.3 -5.3)
LCHlch(96.1 5.5 256.3)
OKLCHoklch(0.966 0.015 248.0)
Decimal15529470
Display P3color(display-p3 0.925 0.961 0.996)

Copy-ready code

/* CSS */
color: #ecf5fe;
background-color: #ecf5fe;
/* Tailwind (arbitrary) */
class="text-[#ecf5fe] bg-[#ecf5fe]"
/* SCSS */
$brand: #ecf5fe;
/* SwiftUI */
Color(red: 0.925, green: 0.961, blue: 0.996)
/* Android */
Color.parseColor("#ecf5fe")
/* Flutter */
Color(0xFFECF5FE)
/* Python / OpenCV (BGR) */
(254, 245, 236)

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

Accessibility — WCAG contrast

Aa
#ecf5fe on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#ecf5fe on black: 19.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F2F5FE
deuteranopia · #F0F3FE
tritanopia · #E8F7F8

Color scale — 50 to 950

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

#ecf5fe
#E5F0FB
#C3DEF8
#94C7F9
#5FABF7
#2A8FF4
#0C7AE9
#0A66C2
#08529B
#0B3D70
#072646
Base = 50Lightest = 50 · #ecf5feDarkest = 950 · #072646
:root {
  --brand-50: #ecf5fe;
  --brand-100: #E5F0FB;
  --brand-200: #C3DEF8;
  --brand-300: #94C7F9;
  --brand-400: #5FABF7;
  --brand-500: #2A8FF4;
  --brand-600: #0C7AE9;
  --brand-700: #0A66C2;
  --brand-800: #08529B;
  --brand-900: #0B3D70;
  --brand-950: #072646;
  --brand: #ecf5fe;
  --brand-ink: #000000;
}

Colors that work with #ecf5fe

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#C0D6ED
Hairlines and dividers
Muted text#4B739B
Captions on the surface
Accent#C2330A
Second voice, not a rival
Dark variant#064079
Hover, pressed, headers
Light variant#E7F2FE
Selected rows, tints
Dark surface#141C24
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 #ecf5fe

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#FEF5EC
Analogous left#ECFEFE
Analogous right#ECECFE
Split-complement 1#FEECEC
Split-complement 2#FEFEEC
Triadic 1#FEECF5
Triadic 2#F5FEEC
Tetradic#FEECFE

RGB percentages

Red92.5%
Green96.1%
Blue99.6%

CMYK percentages

Cyan7.1%
Magenta3.5%
Yellow0.0%
Key (black)0.4%

Color previews

#ecf5fe text on a black background

contrast 19.06:1

Card sample

#ecf5fe text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(236, 245, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 245, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecf5fe;
background: linear-gradient(135deg, #ecf5fe, #EFECFE);

Monochromatic scale

Palettes built from #ecf5fe

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.

#ecf5fe 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ecf5fe, answered

What color is #ecf5fe?

#ecf5fe is a pale electric blue, closest to Alice Blue (ΔE2000 1.1). It sits at 210° on the hue wheel with 90% saturation and 96% lightness, which reads as cool.

What is the RGB value of #ecf5fe?

rgb(236, 245, 254) — 236 red, 245 green and 254 blue out of 255, or 92.5% / 96.1% / 99.6% by channel.

Is #ecf5fe a light or a dark color?

It is a light color. Relative luminance is 0.9029 and perceived brightness is 95%, so black text on it reaches 19.06:1.

Should I use black or white text on #ecf5fe?

Black. It scores 19.06:1 against #ecf5fe, versus 1.10:1 for white — AAA at any size.

What is the complementary color of #ecf5fe?

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

What colors go well with #ecf5fe?

For interface work: #F4F7FA as the surface, #C0D6ED for borders, #4B739B for secondary text, #C2330A as an accent and #064079 for hover and pressed states. For a palette, the analogous pair #ECFEFE and #ECECFE stays calm, while #FEF5EC is the loudest partner.

What is #ecf5fe in CMYK for printing?

cmyk(7%, 4%, 0%, 0%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #ecf5fe warm or cool?

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

Work with #ecf5fe in the Color Lab