#6850ff
a light, electric blue · warm · closest name: slateblue
RGB
104, 80, 255
HSL
248°, 100%, 66%
CMYK
59, 69, 0, 0
Luminance
0.1590
Every format
| HEX | #6850ff |
| RGB | rgb(104, 80, 255) |
| HSL | hsl(248, 100%, 66%) |
| CMYK | cmyk(59%, 69%, 0%, 0%) |
| LAB | lab(46.8 56.3 -83.6) |
| LCH | lch(46.8 100.8 303.9) |
| OKLCH | oklch(0.566 0.246 281.4) |
Copy-ready code
/* CSS */
color: #6850ff;
background-color: #6850ff;
/* Tailwind (arbitrary) */
class="text-[#6850ff] bg-[#6850ff]"
/* SCSS */
$brand: #6850ff;
/* SwiftUI */
Color(red: 0.408, green: 0.314, blue: 1.000)
/* Android */
Color.parseColor("#6850ff")Accessibility — WCAG contrast
Aa
#6850ff on white: 5.02:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#6850ff on black: 4.18:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red40.8%
Green31.4%
Blue100.0%
CMYK percentages
Cyan59.2%
Magenta68.6%
Yellow0.0%
Key (black)0.0%
Color previews
#6850ff text on a black background
contrast 4.18:1
Card sample
#6850ff text on a white background
contrast 5.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6850ff;
Background color
Panel with #6850ff background
background-color: #6850ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6850ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(104, 80, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(104, 80, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6850ff; background: linear-gradient(135deg, #6850ff, #DD50FF);