#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 |
| RGB | rgb(240, 249, 252) |
| HSL | hsl(195, 67%, 97%) |
| CMYK | cmyk(5%, 1%, 0%, 1%) |
| LAB | lab(97.3 -2.4 -2.5) |
| LCH | lch(97.3 3.4 225.6) |
| OKLCH | oklch(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);