Skip to content

#ebf0ff

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

RGB
235, 240, 255
HSL
225°, 100%, 96%
CMYK
8, 6, 0, 0
Luminance
0.8720

Every format

HEX#ebf0ff
RGBrgb(235, 240, 255)
HSLhsl(225, 100%, 96%)
CMYKcmyk(8%, 6%, 0%, 0%)
LABlab(94.8 1.1 -7.8)
LCHlch(94.8 7.9 278.2)
OKLCHoklch(0.956 0.021 271.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green94.1%
Blue100.0%

CMYK percentages

Cyan7.8%
Magenta5.9%
Yellow0.0%
Key (black)0.0%

Color previews

#ebf0ff text on a black background

contrast 18.44:1

Card sample

#ebf0ff text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebf0ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebf0ff in the Color Lab