Skip to content

#f2fafe

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

RGB
242, 250, 254
HSL
200°, 86%, 97%
CMYK
5, 2, 0, 0
Luminance
0.9440

Every format

HEX#f2fafe
RGBrgb(242, 250, 254)
HSLhsl(200, 86%, 97%)
CMYKcmyk(5%, 2%, 0%, 0%)
LABlab(97.8 -1.9 -2.8)
LCHlch(97.8 3.4 236.1)
OKLCHoklch(0.980 0.010 228.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2fafe on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#f2fafe on black: 19.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green98.0%
Blue99.6%

CMYK percentages

Cyan4.7%
Magenta1.6%
Yellow0.0%
Key (black)0.4%

Color previews

#f2fafe text on a black background

contrast 19.88:1

Card sample

#f2fafe text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2fafe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2fafe in the Color Lab