#6850df
a balanced, vivid blue · warm · closest name: slateblue
RGB
104, 80, 223
HSL
250°, 69%, 59%
CMYK
53, 64, 0, 13
Luminance
0.1401
Every format
| HEX | #6850df |
| RGB | rgb(104, 80, 223) |
| HSL | hsl(250, 69%, 59%) |
| CMYK | cmyk(53%, 64%, 0%, 13%) |
| LAB | lab(44.2 46.8 -69.8) |
| LCH | lch(44.2 84.1 303.8) |
| OKLCH | oklch(0.539 0.207 284.7) |
Copy-ready code
/* CSS */
color: #6850df;
background-color: #6850df;
/* Tailwind (arbitrary) */
class="text-[#6850df] bg-[#6850df]"
/* SCSS */
$brand: #6850df;
/* SwiftUI */
Color(red: 0.408, green: 0.314, blue: 0.875)
/* Android */
Color.parseColor("#6850df")Accessibility — WCAG contrast
Aa
#6850df on white: 5.52:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#6850df on black: 3.80:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red40.8%
Green31.4%
Blue87.5%
CMYK percentages
Cyan53.4%
Magenta64.1%
Yellow0.0%
Key (black)12.5%
Color previews
#6850df text on a black background
contrast 3.80:1
Card sample
#6850df text on a white background
contrast 5.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6850df;
Background color
Panel with #6850df background
background-color: #6850df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6850df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(104, 80, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(104, 80, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6850df; background: linear-gradient(135deg, #6850df, #C750DF);