Skip to content

#f2f7fc

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

RGB
242, 247, 252
HSL
210°, 63%, 97%
CMYK
4, 2, 0, 1
Luminance
0.9243

Every format

HEX#f2f7fc
RGBrgb(242, 247, 252)
HSLhsl(210, 63%, 97%)
CMYKcmyk(4%, 2%, 0%, 1%)
LABlab(97.0 -0.8 -3.0)
LCHlch(97.0 3.1 255.8)
OKLCHoklch(0.974 0.009 247.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green96.9%
Blue98.8%

CMYK percentages

Cyan4.0%
Magenta2.0%
Yellow0.0%
Key (black)1.2%

Color previews

#f2f7fc text on a black background

contrast 19.49:1

Card sample

#f2f7fc text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2f7fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2f7fc in the Color Lab