#f0fcff
a pale, electric cyan · cool · closest name: white
RGB
240, 252, 255
HSL
192°, 100%, 97%
CMYK
6, 1, 0, 0
Luminance
0.9537
Every format
| HEX | #f0fcff |
| RGB | rgb(240, 252, 255) |
| HSL | hsl(192, 100%, 97%) |
| CMYK | cmyk(6%, 1%, 0%, 0%) |
| LAB | lab(98.2 -3.4 -2.8) |
| LCH | lch(98.2 4.4 219.6) |
| OKLCH | oklch(0.983 0.013 214.4) |
Copy-ready code
/* CSS */
color: #f0fcff;
background-color: #f0fcff;
/* Tailwind (arbitrary) */
class="text-[#f0fcff] bg-[#f0fcff]"
/* SCSS */
$brand: #f0fcff;
/* SwiftUI */
Color(red: 0.941, green: 0.988, blue: 1.000)
/* Android */
Color.parseColor("#f0fcff")Accessibility — WCAG contrast
Aa
#f0fcff on white: 1.05:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0fcff on black: 20.07:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green98.8%
Blue100.0%
CMYK percentages
Cyan5.9%
Magenta1.2%
Yellow0.0%
Key (black)0.0%
Color previews
#f0fcff text on a black background
contrast 20.07:1
Card sample
#f0fcff text on a white background
contrast 1.05:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0fcff;
Background color
Panel with #f0fcff background
background-color: #f0fcff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0fcff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 252, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 252, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0fcff; background: linear-gradient(135deg, #f0fcff, #F0F2FF);