#def2fa
a pale, vivid cyan · cool · closest name: lavender
RGB
222, 242, 250
HSL
197°, 74%, 93%
CMYK
11, 3, 0, 2
Luminance
0.8594
Every format
| HEX | #def2fa |
| RGB | rgb(222, 242, 250) |
| HSL | hsl(197, 74%, 93%) |
| CMYK | cmyk(11%, 3%, 0%, 2%) |
| LAB | lab(94.3 -5.0 -6.1) |
| LCH | lch(94.3 7.9 230.6) |
| OKLCH | oklch(0.949 0.024 223.7) |
Copy-ready code
/* CSS */
color: #def2fa;
background-color: #def2fa;
/* Tailwind (arbitrary) */
class="text-[#def2fa] bg-[#def2fa]"
/* SCSS */
$brand: #def2fa;
/* SwiftUI */
Color(red: 0.871, green: 0.949, blue: 0.980)
/* Android */
Color.parseColor("#def2fa")Accessibility — WCAG contrast
Aa
#def2fa on white: 1.15:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#def2fa on black: 18.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green94.9%
Blue98.0%
CMYK percentages
Cyan11.2%
Magenta3.2%
Yellow0.0%
Key (black)2.0%
Color previews
#def2fa text on a black background
contrast 18.19:1
Card sample
#def2fa text on a white background
contrast 1.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #def2fa;
Background color
Panel with #def2fa background
background-color: #def2fa;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #def2fa;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 242, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 242, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def2fa; background: linear-gradient(135deg, #def2fa, #DEDFFA);