#6147df
a balanced, vivid blue · warm · closest name: slateblue
RGB
97, 71, 223
HSL
250°, 70%, 58%
CMYK
57, 68, 0, 13
Luminance
0.1238
Every format
| HEX | #6147df |
| RGB | rgb(97, 71, 223) |
| HSL | hsl(250, 70%, 58%) |
| CMYK | cmyk(57%, 68%, 0%, 13%) |
| LAB | lab(41.8 50.7 -73.8) |
| LCH | lch(41.8 89.6 304.5) |
| OKLCH | oklch(0.520 0.219 283.6) |
Copy-ready code
/* CSS */
color: #6147df;
background-color: #6147df;
/* Tailwind (arbitrary) */
class="text-[#6147df] bg-[#6147df]"
/* SCSS */
$brand: #6147df;
/* SwiftUI */
Color(red: 0.380, green: 0.278, blue: 0.875)
/* Android */
Color.parseColor("#6147df")Accessibility — WCAG contrast
Aa
#6147df on white: 6.04:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#6147df on black: 3.48:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red38.0%
Green27.8%
Blue87.5%
CMYK percentages
Cyan56.5%
Magenta68.2%
Yellow0.0%
Key (black)12.5%
Color previews
#6147df text on a black background
contrast 3.48:1
Card sample
#6147df text on a white background
contrast 6.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6147df;
Background color
Panel with #6147df background
background-color: #6147df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6147df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(97, 71, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(97, 71, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6147df; background: linear-gradient(135deg, #6147df, #C647DF);