Skip to content

#f0f9fc

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

RGB
240, 249, 252
HSL
195°, 67%, 97%
CMYK
5, 1, 0, 1
Luminance
0.9330

Every format

HEX#f0f9fc
RGBrgb(240, 249, 252)
HSLhsl(195, 67%, 97%)
CMYKcmyk(5%, 1%, 0%, 1%)
LABlab(97.3 -2.4 -2.5)
LCHlch(97.3 3.4 225.6)
OKLCHoklch(0.976 0.010 219.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green97.6%
Blue98.8%

CMYK percentages

Cyan4.8%
Magenta1.2%
Yellow0.0%
Key (black)1.2%

Color previews

#f0f9fc text on a black background

contrast 19.66:1

Card sample

#f0f9fc text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0f9fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0f9fc in the Color Lab