#8080ef
a light, electric blue · warm · closest name: royalblue
RGB
128, 128, 239
HSL
240°, 78%, 72%
CMYK
46, 46, 0, 6
Luminance
0.2626
Every format
| HEX | #8080ef |
| RGB | rgb(128, 128, 239) |
| HSL | hsl(240, 78%, 72%) |
| CMYK | cmyk(46%, 46%, 0%, 6%) |
| LAB | lab(58.3 28.4 -56.1) |
| LCH | lch(58.3 62.9 296.8) |
| OKLCH | oklch(0.651 0.162 280.9) |
Copy-ready code
/* CSS */
color: #8080ef;
background-color: #8080ef;
/* Tailwind (arbitrary) */
class="text-[#8080ef] bg-[#8080ef]"
/* SCSS */
$brand: #8080ef;
/* SwiftUI */
Color(red: 0.502, green: 0.502, blue: 0.937)
/* Android */
Color.parseColor("#8080ef")Accessibility — WCAG contrast
Aa
#8080ef on white: 3.36:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#8080ef on black: 6.25:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.2%
Green50.2%
Blue93.7%
CMYK percentages
Cyan46.4%
Magenta46.4%
Yellow0.0%
Key (black)6.3%
Color previews
#8080ef text on a black background
contrast 6.25:1
Card sample
#8080ef text on a white background
contrast 3.36:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8080ef;
Background color
Panel with #8080ef background
background-color: #8080ef;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8080ef;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(128, 128, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 128, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8080ef; background: linear-gradient(135deg, #8080ef, #CA80EF);