#808eee
a light, electric blue · warm · closest name: dodgerblue
RGB
128, 142, 238
HSL
232°, 76%, 72%
CMYK
46, 40, 0, 7
Luminance
0.3011
Every format
| HEX | #808eee |
| RGB | rgb(128, 142, 238) |
| HSL | hsl(232, 76%, 72%) |
| CMYK | cmyk(46%, 40%, 0%, 7%) |
| LAB | lab(61.8 19.8 -50.0) |
| LCH | lch(61.8 53.8 291.6) |
| OKLCH | oklch(0.678 0.142 275.7) |
Copy-ready code
/* CSS */
color: #808eee;
background-color: #808eee;
/* Tailwind (arbitrary) */
class="text-[#808eee] bg-[#808eee]"
/* SCSS */
$brand: #808eee;
/* SwiftUI */
Color(red: 0.502, green: 0.557, blue: 0.933)
/* Android */
Color.parseColor("#808eee")Accessibility — WCAG contrast
Aa
#808eee on white: 2.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#808eee on black: 7.02:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.2%
Green55.7%
Blue93.3%
CMYK percentages
Cyan46.2%
Magenta40.3%
Yellow0.0%
Key (black)6.7%
Color previews
#808eee text on a black background
contrast 7.02:1
Card sample
#808eee text on a white background
contrast 2.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #808eee;
Background color
Panel with #808eee background
background-color: #808eee;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #808eee;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(128, 142, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 142, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #808eee; background: linear-gradient(135deg, #808eee, #BB80EE);