Skip to content

#f0f9fe

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

RGB
240, 249, 254
HSL
201°, 88%, 97%
CMYK
6, 2, 0, 0
Luminance
0.9343

Every format

HEX#f0f9fe
RGBrgb(240, 249, 254)
HSLhsl(201, 88%, 97%)
CMYKcmyk(6%, 2%, 0%, 0%)
LABlab(97.4 -2.0 -3.4)
LCHlch(97.4 4.0 239.2)
OKLCHoklch(0.977 0.012 231.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0f9fe on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#f0f9fe on black: 19.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green97.6%
Blue99.6%

CMYK percentages

Cyan5.5%
Magenta2.0%
Yellow0.0%
Key (black)0.4%

Color previews

#f0f9fe text on a black background

contrast 19.69:1

Card sample

#f0f9fe text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0f9fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0f9fe in the Color Lab