Skip to content

#f7faff

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

RGB
247, 250, 255
HSL
218°, 100%, 98%
CMYK
3, 2, 0, 0
Luminance
0.9537

Every format

HEX#f7faff
RGBrgb(247, 250, 255)
HSLhsl(218, 100%, 98%)
CMYKcmyk(3%, 2%, 0%, 0%)
LABlab(98.2 -0.1 -2.7)
LCHlch(98.2 2.7 268.1)
OKLCHoklch(0.984 0.007 260.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7faff on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#f7faff on black: 20.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green98.0%
Blue100.0%

CMYK percentages

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

Color previews

#f7faff text on a black background

contrast 20.07:1

Card sample

#f7faff text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7faff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7faff in the Color Lab