#808fd2
a light, vivid blue · warm · closest name: steelblue
RGB
128, 143, 210
HSL
229°, 48%, 66%
CMYK
39, 32, 0, 18
Luminance
0.2889
Every format
| HEX | #808fd2 |
| RGB | rgb(128, 143, 210) |
| HSL | hsl(229, 48%, 66%) |
| CMYK | cmyk(39%, 32%, 0%, 18%) |
| LAB | lab(60.7 11.3 -36.1) |
| LCH | lch(60.7 37.9 287.3) |
| OKLCH | oklch(0.665 0.101 273.7) |
Copy-ready code
/* CSS */
color: #808fd2;
background-color: #808fd2;
/* Tailwind (arbitrary) */
class="text-[#808fd2] bg-[#808fd2]"
/* SCSS */
$brand: #808fd2;
/* SwiftUI */
Color(red: 0.502, green: 0.561, blue: 0.824)
/* Android */
Color.parseColor("#808fd2")Accessibility — WCAG contrast
Aa
#808fd2 on white: 3.10:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#808fd2 on black: 6.78:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.2%
Green56.1%
Blue82.4%
CMYK percentages
Cyan39.0%
Magenta31.9%
Yellow0.0%
Key (black)17.6%
Color previews
#808fd2 text on a black background
contrast 6.78:1
Card sample
#808fd2 text on a white background
contrast 3.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #808fd2;
Background color
Panel with #808fd2 background
background-color: #808fd2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #808fd2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(128, 143, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 143, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #808fd2; background: linear-gradient(135deg, #808fd2, #A880D2);