Skip to content

#f0eefe

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

RGB
240, 238, 254
HSL
248°, 89%, 97%
CMYK
6, 6, 0, 0
Luminance
0.8683

Every format

HEX#f0eefe
RGBrgb(240, 238, 254)
HSLhsl(248, 89%, 97%)
CMYKcmyk(6%, 6%, 0%, 0%)
LABlab(94.7 3.6 -7.5)
LCHlch(94.7 8.3 295.6)
OKLCHoklch(0.955 0.021 291.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green93.3%
Blue99.6%

CMYK percentages

Cyan5.5%
Magenta6.3%
Yellow0.0%
Key (black)0.4%

Color previews

#f0eefe text on a black background

contrast 18.37:1

Card sample

#f0eefe text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0eefe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0eefe in the Color Lab