Skip to content

#f5f9ff

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

RGB
245, 249, 255
HSL
216°, 100%, 98%
CMYK
4, 2, 0, 0
Luminance
0.9438

Every format

HEX#f5f9ff
RGBrgb(245, 249, 255)
HSLhsl(216, 100%, 98%)
CMYKcmyk(4%, 2%, 0%, 0%)
LABlab(97.8 -0.2 -3.3)
LCHlch(97.8 3.3 265.9)
OKLCHoklch(0.981 0.009 258.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.1%
Green97.6%
Blue100.0%

CMYK percentages

Cyan3.9%
Magenta2.4%
Yellow0.0%
Key (black)0.0%

Color previews

#f5f9ff text on a black background

contrast 19.88:1

Card sample

#f5f9ff text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5f9ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5f9ff in the Color Lab