Skip to content

#f5fafd

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

RGB
245, 250, 253
HSL
203°, 67%, 98%
CMYK
3, 1, 0, 1
Luminance
0.9488

Every format

HEX#f5fafd
RGBrgb(245, 250, 253)
HSLhsl(203, 67%, 98%)
CMYKcmyk(3%, 1%, 0%, 1%)
LABlab(98.0 -1.1 -2.0)
LCHlch(98.0 2.3 241.1)
OKLCHoklch(0.982 0.007 233.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.1%
Green98.0%
Blue99.2%

CMYK percentages

Cyan3.2%
Magenta1.2%
Yellow0.0%
Key (black)0.8%

Color previews

#f5fafd text on a black background

contrast 19.98:1

Card sample

#f5fafd text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5fafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5fafd in the Color Lab