Skip to content

#f2f4fc

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

RGB
242, 244, 252
HSL
228°, 63%, 97%
CMYK
4, 3, 0, 1
Luminance
0.9061

Every format

HEX#f2f4fc
RGBrgb(242, 244, 252)
HSLhsl(228, 63%, 97%)
CMYKcmyk(4%, 3%, 0%, 1%)
LABlab(96.3 0.8 -4.1)
LCHlch(96.3 4.1 280.8)
OKLCHoklch(0.968 0.011 274.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2f4fc on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#f2f4fc on black: 19.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green95.7%
Blue98.8%

CMYK percentages

Cyan4.0%
Magenta3.2%
Yellow0.0%
Key (black)1.2%

Color previews

#f2f4fc text on a black background

contrast 19.12:1

Card sample

#f2f4fc text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2f4fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2f4fc in the Color Lab