Skip to content

#f2faff

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

RGB
242, 250, 255
HSL
203°, 100%, 98%
CMYK
5, 2, 0, 0
Luminance
0.9447

Every format

HEX#f2faff
RGBrgb(242, 250, 255)
HSLhsl(203, 100%, 98%)
CMYKcmyk(5%, 2%, 0%, 0%)
LABlab(97.8 -1.7 -3.3)
LCHlch(97.8 3.7 242.5)
OKLCHoklch(0.981 0.011 234.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green98.0%
Blue100.0%

CMYK percentages

Cyan5.1%
Magenta2.0%
Yellow0.0%
Key (black)0.0%

Color previews

#f2faff text on a black background

contrast 19.89:1

Card sample

#f2faff text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2faff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2faff in the Color Lab