Skip to content

#f1f7fe

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

RGB
241, 247, 254
HSL
212°, 87%, 97%
CMYK
5, 3, 0, 0
Luminance
0.9238

Every format

HEX#f1f7fe
RGBrgb(241, 247, 254)
HSLhsl(212, 87%, 97%)
CMYKcmyk(5%, 3%, 0%, 0%)
LABlab(97.0 -0.7 -4.0)
LCHlch(97.0 4.1 260.2)
OKLCHoklch(0.974 0.011 252.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.5%
Green96.9%
Blue99.6%

CMYK percentages

Cyan5.1%
Magenta2.8%
Yellow0.0%
Key (black)0.4%

Color previews

#f1f7fe text on a black background

contrast 19.48:1

Card sample

#f1f7fe text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f1f7fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1f7fe in the Color Lab