#808af2
a light, electric blue · warm · closest name: dodgerblue
RGB
128, 138, 242
HSL
235°, 81%, 73%
CMYK
47, 43, 0, 5
Luminance
0.2918
Every format
| HEX | #808af2 |
| RGB | rgb(128, 138, 242) |
| HSL | hsl(235, 81%, 73%) |
| CMYK | cmyk(47%, 43%, 0%, 5%) |
| LAB | lab(60.9 23.4 -53.5) |
| LCH | lch(60.9 58.4 293.6) |
| OKLCH | oklch(0.672 0.153 277.3) |
Copy-ready code
/* CSS */
color: #808af2;
background-color: #808af2;
/* Tailwind (arbitrary) */
class="text-[#808af2] bg-[#808af2]"
/* SCSS */
$brand: #808af2;
/* SwiftUI */
Color(red: 0.502, green: 0.541, blue: 0.949)
/* Android */
Color.parseColor("#808af2")Accessibility — WCAG contrast
Aa
#808af2 on white: 3.07:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#808af2 on black: 6.84:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.2%
Green54.1%
Blue94.9%
CMYK percentages
Cyan47.1%
Magenta43.0%
Yellow0.0%
Key (black)5.1%
Color previews
#808af2 text on a black background
contrast 6.84:1
Card sample
#808af2 text on a white background
contrast 3.07:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #808af2;
Background color
Panel with #808af2 background
background-color: #808af2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #808af2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(128, 138, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 138, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #808af2; background: linear-gradient(135deg, #808af2, #C280F2);