#9facf4
a light, electric blue · warm · closest name: plum
RGB
159, 172, 244
HSL
231°, 79%, 79%
CMYK
35, 30, 0, 4
Luminance
0.4341
Every format
| HEX | #9facf4 |
| RGB | rgb(159, 172, 244) |
| HSL | hsl(231, 79%, 79%) |
| CMYK | cmyk(35%, 30%, 0%, 4%) |
| LAB | lab(71.8 12.2 -37.3) |
| LCH | lch(71.8 39.3 288.1) |
| OKLCH | oklch(0.762 0.104 275.8) |
Copy-ready code
/* CSS */
color: #9facf4;
background-color: #9facf4;
/* Tailwind (arbitrary) */
class="text-[#9facf4] bg-[#9facf4]"
/* SCSS */
$brand: #9facf4;
/* SwiftUI */
Color(red: 0.624, green: 0.675, blue: 0.957)
/* Android */
Color.parseColor("#9facf4")Accessibility — WCAG contrast
Aa
#9facf4 on white: 2.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#9facf4 on black: 9.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red62.4%
Green67.5%
Blue95.7%
CMYK percentages
Cyan34.8%
Magenta29.5%
Yellow0.0%
Key (black)4.3%
Color previews
#9facf4 text on a black background
contrast 9.68:1
Card sample
#9facf4 text on a white background
contrast 2.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9facf4;
Background color
Panel with #9facf4 background
background-color: #9facf4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9facf4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(159, 172, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 172, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9facf4; background: linear-gradient(135deg, #9facf4, #CB9FF4);