#f8faff
a pale, electric blue · cool · closest name: white
RGB
248, 250, 255
HSL
223°, 100%, 99%
CMYK
3, 2, 0, 0
Luminance
0.9555
Every format
| HEX | #f8faff |
| RGB | rgb(248, 250, 255) |
| HSL | hsl(223, 100%, 99%) |
| CMYK | cmyk(3%, 2%, 0%, 0%) |
| LAB | lab(98.3 0.2 -2.6) |
| LCH | lch(98.3 2.6 275.0) |
| OKLCH | oklch(0.985 0.007 268.5) |
Copy-ready code
/* CSS */
color: #f8faff;
background-color: #f8faff;
/* Tailwind (arbitrary) */
class="text-[#f8faff] bg-[#f8faff]"
/* SCSS */
$brand: #f8faff;
/* SwiftUI */
Color(red: 0.973, green: 0.980, blue: 1.000)
/* Android */
Color.parseColor("#f8faff")Accessibility — WCAG contrast
Aa
#f8faff on white: 1.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f8faff on black: 20.11:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red97.3%
Green98.0%
Blue100.0%
CMYK percentages
Cyan2.7%
Magenta2.0%
Yellow0.0%
Key (black)0.0%
Color previews
#f8faff text on a black background
contrast 20.11:1
Card sample
#f8faff text on a white background
contrast 1.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f8faff;
Background color
Panel with #f8faff background
background-color: #f8faff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f8faff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(248, 250, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(248, 250, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f8faff; background: linear-gradient(135deg, #f8faff, #FBF8FF);