Skip to content

#ecefff

a pale, electric blue · warm · closest name: lavender

RGB
236, 239, 255
HSL
231°, 100%, 96%
CMYK
8, 6, 0, 0
Luminance
0.8679

Every format

HEX#ecefff
RGBrgb(236, 239, 255)
HSLhsl(231, 100%, 96%)
CMYKcmyk(8%, 6%, 0%, 0%)
LABlab(94.7 1.9 -8.0)
LCHlch(94.7 8.3 283.6)
OKLCHoklch(0.955 0.022 277.5)

Copy-ready code

/* CSS */
color: #ecefff;
background-color: #ecefff;
/* Tailwind (arbitrary) */
class="text-[#ecefff] bg-[#ecefff]"
/* SCSS */
$brand: #ecefff;
/* SwiftUI */
Color(red: 0.925, green: 0.937, blue: 1.000)
/* Android */
Color.parseColor("#ecefff")

Accessibility — WCAG contrast

Aa
#ecefff on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#ecefff on black: 18.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green93.7%
Blue100.0%

CMYK percentages

Cyan7.5%
Magenta6.3%
Yellow0.0%
Key (black)0.0%

Color previews

#ecefff text on a black background

contrast 18.36:1

Card sample

#ecefff text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecefff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecefff in the Color Lab