Skip to content

#f4f2fe

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

RGB
244, 242, 254
HSL
250°, 86%, 97%
CMYK
4, 5, 0, 0
Luminance
0.8989

Every format

HEX#f4f2fe
RGBrgb(244, 242, 254)
HSLhsl(250, 86%, 97%)
CMYKcmyk(4%, 5%, 0%, 0%)
LABlab(96.0 2.8 -5.5)
LCHlch(96.0 6.2 297.1)
OKLCHoklch(0.966 0.016 293.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4f2fe on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#f4f2fe on black: 18.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green94.9%
Blue99.6%

CMYK percentages

Cyan3.9%
Magenta4.7%
Yellow0.0%
Key (black)0.4%

Color previews

#f4f2fe text on a black background

contrast 18.98:1

Card sample

#f4f2fe text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4f2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4f2fe in the Color Lab