#9f9df4
a light, electric blue · warm · closest name: dodgerblue
RGB
159, 157, 244
HSL
241°, 80%, 79%
CMYK
35, 36, 0, 4
Luminance
0.3802
Every format
| HEX | #9f9df4 |
| RGB | rgb(159, 157, 244) |
| HSL | hsl(241, 80%, 79%) |
| CMYK | cmyk(35%, 36%, 0%, 4%) |
| LAB | lab(68.0 20.7 -43.3) |
| LCH | lch(68.0 48.0 295.5) |
| OKLCH | oklch(0.732 0.125 283.9) |
Copy-ready code
/* CSS */
color: #9f9df4;
background-color: #9f9df4;
/* Tailwind (arbitrary) */
class="text-[#9f9df4] bg-[#9f9df4]"
/* SCSS */
$brand: #9f9df4;
/* SwiftUI */
Color(red: 0.624, green: 0.616, blue: 0.957)
/* Android */
Color.parseColor("#9f9df4")Accessibility — WCAG contrast
Aa
#9f9df4 on white: 2.44:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#9f9df4 on black: 8.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red62.4%
Green61.6%
Blue95.7%
CMYK percentages
Cyan34.8%
Magenta35.7%
Yellow0.0%
Key (black)4.3%
Color previews
#9f9df4 text on a black background
contrast 8.60:1
Card sample
#9f9df4 text on a white background
contrast 2.44:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9f9df4;
Background color
Panel with #9f9df4 background
background-color: #9f9df4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9f9df4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(159, 157, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 157, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9f9df4; background: linear-gradient(135deg, #9f9df4, #D99DF4);