#f0f4fe
a pale, electric blue · cool · closest name: white
RGB
240, 244, 254
HSL
223°, 88%, 97%
CMYK
6, 4, 0, 0
Luminance
0.9038
Every format
| HEX | #f0f4fe |
| RGB | rgb(240, 244, 254) |
| HSL | hsl(223, 88%, 97%) |
| CMYK | cmyk(6%, 4%, 0%, 0%) |
| LAB | lab(96.2 0.5 -5.3) |
| LCH | lch(96.2 5.3 275.4) |
| OKLCH | oklch(0.967 0.014 268.5) |
Copy-ready code
/* CSS */
color: #f0f4fe;
background-color: #f0f4fe;
/* Tailwind (arbitrary) */
class="text-[#f0f4fe] bg-[#f0f4fe]"
/* SCSS */
$brand: #f0f4fe;
/* SwiftUI */
Color(red: 0.941, green: 0.957, blue: 0.996)
/* Android */
Color.parseColor("#f0f4fe")Accessibility — WCAG contrast
Aa
#f0f4fe on white: 1.10:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0f4fe on black: 19.08:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green95.7%
Blue99.6%
CMYK percentages
Cyan5.5%
Magenta3.9%
Yellow0.0%
Key (black)0.4%
Color previews
#f0f4fe text on a black background
contrast 19.08:1
Card sample
#f0f4fe text on a white background
contrast 1.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0f4fe;
Background color
Panel with #f0f4fe background
background-color: #f0f4fe;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0f4fe;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 244, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 244, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0f4fe; background: linear-gradient(135deg, #f0f4fe, #F5F0FE);