Skip to content

#f2f7fd

a pale, vivid blue · cool · closest name: white

RGB
242, 247, 253
HSL
213°, 73%, 97%
CMYK
4, 2, 0, 1
Luminance
0.9249

Every format

HEX#f2f7fd
RGBrgb(242, 247, 253)
HSLhsl(213, 73%, 97%)
CMYKcmyk(4%, 2%, 0%, 1%)
LABlab(97.0 -0.6 -3.5)
LCHlch(97.0 3.5 260.8)
OKLCHoklch(0.974 0.010 252.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2f7fd on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#f2f7fd on black: 19.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green96.9%
Blue99.2%

CMYK percentages

Cyan4.3%
Magenta2.4%
Yellow0.0%
Key (black)0.8%

Color previews

#f2f7fd text on a black background

contrast 19.50:1

Card sample

#f2f7fd text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2f7fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2f7fd in the Color Lab