Skip to content

#f0f5fc

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

RGB
240, 245, 252
HSL
215°, 67%, 97%
CMYK
5, 3, 0, 1
Luminance
0.9086

Every format

HEX#f0f5fc
RGBrgb(240, 245, 252)
HSLhsl(215, 67%, 97%)
CMYKcmyk(5%, 3%, 0%, 1%)
LABlab(96.3 -0.4 -3.9)
LCHlch(96.3 4.0 264.5)
OKLCHoklch(0.968 0.011 256.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0f5fc on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#f0f5fc on black: 19.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green96.1%
Blue98.8%

CMYK percentages

Cyan4.8%
Magenta2.8%
Yellow0.0%
Key (black)1.2%

Color previews

#f0f5fc text on a black background

contrast 19.17:1

Card sample

#f0f5fc text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0f5fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0f5fc in the Color Lab