#6949df
a balanced, vivid blue · warm · closest name: slateblue
RGB
105, 73, 223
HSL
253°, 70%, 58%
CMYK
53, 67, 0, 13
Luminance
0.1310
Every format
| HEX | #6949df |
| RGB | rgb(105, 73, 223) |
| HSL | hsl(253, 70%, 58%) |
| CMYK | cmyk(53%, 67%, 0%, 13%) |
| LAB | lab(42.9 50.9 -72.0) |
| LCH | lch(42.9 88.2 305.2) |
| OKLCH | oklch(0.530 0.216 286.3) |
Copy-ready code
/* CSS */
color: #6949df;
background-color: #6949df;
/* Tailwind (arbitrary) */
class="text-[#6949df] bg-[#6949df]"
/* SCSS */
$brand: #6949df;
/* SwiftUI */
Color(red: 0.412, green: 0.286, blue: 0.875)
/* Android */
Color.parseColor("#6949df")Accessibility — WCAG contrast
Aa
#6949df on white: 5.80:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#6949df on black: 3.62:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red41.2%
Green28.6%
Blue87.5%
CMYK percentages
Cyan52.9%
Magenta67.3%
Yellow0.0%
Key (black)12.5%
Color previews
#6949df text on a black background
contrast 3.62:1
Card sample
#6949df text on a white background
contrast 5.80:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6949df;
Background color
Panel with #6949df background
background-color: #6949df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6949df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(105, 73, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(105, 73, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6949df; background: linear-gradient(135deg, #6949df, #CD49DF);