#7064df
a balanced, vivid blue · warm · closest name: slateblue
RGB
112, 100, 223
HSL
246°, 66%, 63%
CMYK
50, 55, 0, 13
Luminance
0.1789
Every format
| HEX | #7064df |
| RGB | rgb(112, 100, 223) |
| HSL | hsl(246, 66%, 63%) |
| CMYK | cmyk(50%, 55%, 0%, 13%) |
| LAB | lab(49.4 36.7 -61.5) |
| LCH | lch(49.4 71.7 300.8) |
| OKLCH | oklch(0.578 0.181 283.6) |
Copy-ready code
/* CSS */
color: #7064df;
background-color: #7064df;
/* Tailwind (arbitrary) */
class="text-[#7064df] bg-[#7064df]"
/* SCSS */
$brand: #7064df;
/* SwiftUI */
Color(red: 0.439, green: 0.392, blue: 0.875)
/* Android */
Color.parseColor("#7064df")Accessibility — WCAG contrast
Aa
#7064df on white: 4.59:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#7064df on black: 4.58:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red43.9%
Green39.2%
Blue87.5%
CMYK percentages
Cyan49.8%
Magenta55.2%
Yellow0.0%
Key (black)12.5%
Color previews
#7064df text on a black background
contrast 4.58:1
Card sample
#7064df text on a white background
contrast 4.59:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7064df;
Background color
Panel with #7064df background
background-color: #7064df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7064df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(112, 100, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(112, 100, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7064df; background: linear-gradient(135deg, #7064df, #C264DF);