Skip to content

#f9fafd

a pale, vivid blue · warm · “white”

RGB
249, 250, 253
HSL
225°, 50%, 98%
CMYK
2, 1, 0, 1
Luminance
0.9560

Every format

HEX#f9fafd
RGBrgb(249, 250, 253)
HSLhsl(225, 50%, 98%)
CMYKcmyk(2%, 1%, 0%, 1%)
LABlab(98.3 0.2 -1.6)
LCHlch(98.3 1.6 277.4)
OKLCHoklch(0.985 0.004 271.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9fafd on white: 1.04:1
AA ✗ fail · AA-large · AAA
Aa
#f9fafd on black: 20.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green98.0%
Blue99.2%

CMYK percentages

Cyan1.6%
Magenta1.2%
Yellow0.0%
Key (black)0.8%

Color previews

#f9fafd text on a black background

contrast 20.12:1

Card sample

#f9fafd text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9fafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9fafd in the Color Lab