#808ef1
a light, electric blue · warm · closest name: dodgerblue
RGB
128, 142, 241
HSL
233°, 80%, 72%
CMYK
47, 41, 0, 6
Luminance
0.3029
Every format
| HEX | #808ef1 |
| RGB | rgb(128, 142, 241) |
| HSL | hsl(233, 80%, 72%) |
| CMYK | cmyk(47%, 41%, 0%, 6%) |
| LAB | lab(61.9 20.7 -51.5) |
| LCH | lch(61.9 55.5 291.9) |
| OKLCH | oklch(0.679 0.146 275.7) |
Copy-ready code
/* CSS */
color: #808ef1;
background-color: #808ef1;
/* Tailwind (arbitrary) */
class="text-[#808ef1] bg-[#808ef1]"
/* SCSS */
$brand: #808ef1;
/* SwiftUI */
Color(red: 0.502, green: 0.557, blue: 0.945)
/* Android */
Color.parseColor("#808ef1")Accessibility — WCAG contrast
Aa
#808ef1 on white: 2.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#808ef1 on black: 7.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.2%
Green55.7%
Blue94.5%
CMYK percentages
Cyan46.9%
Magenta41.1%
Yellow0.0%
Key (black)5.5%
Color previews
#808ef1 text on a black background
contrast 7.06:1
Card sample
#808ef1 text on a white background
contrast 2.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #808ef1;
Background color
Panel with #808ef1 background
background-color: #808ef1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #808ef1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(128, 142, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 142, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #808ef1; background: linear-gradient(135deg, #808ef1, #BE80F1);