#f0f4fc
a pale, vivid blue · cool · closest name: white
RGB
240, 244, 252
HSL
220°, 67%, 97%
CMYK
5, 3, 0, 1
Luminance
0.9025
Every format
| HEX | #f0f4fc |
| RGB | rgb(240, 244, 252) |
| HSL | hsl(220, 67%, 97%) |
| CMYK | cmyk(5%, 3%, 0%, 1%) |
| LAB | lab(96.1 0.1 -4.3) |
| LCH | lch(96.1 4.3 271.7) |
| OKLCH | oklch(0.966 0.011 264.5) |
Copy-ready code
/* CSS */
color: #f0f4fc;
background-color: #f0f4fc;
/* Tailwind (arbitrary) */
class="text-[#f0f4fc] bg-[#f0f4fc]"
/* SCSS */
$brand: #f0f4fc;
/* SwiftUI */
Color(red: 0.941, green: 0.957, blue: 0.988)
/* Android */
Color.parseColor("#f0f4fc")Accessibility — WCAG contrast
Aa
#f0f4fc on white: 1.10:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0f4fc on black: 19.05:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green95.7%
Blue98.8%
CMYK percentages
Cyan4.8%
Magenta3.2%
Yellow0.0%
Key (black)1.2%
Color previews
#f0f4fc text on a black background
contrast 19.05:1
Card sample
#f0f4fc text on a white background
contrast 1.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0f4fc;
Background color
Panel with #f0f4fc background
background-color: #f0f4fc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0f4fc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 244, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 244, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0f4fc; background: linear-gradient(135deg, #f0f4fc, #F4F0FC);