#4d3ace
a balanced, vivid blue · warm · closest name: slateblue
RGB
77, 58, 206
HSL
248°, 60%, 52%
CMYK
63, 72, 0, 19
Luminance
0.0906
Every format
| HEX | #4d3ace |
| RGB | rgb(77, 58, 206) |
| HSL | hsl(248, 60%, 52%) |
| CMYK | cmyk(63%, 72%, 0%, 19%) |
| LAB | lab(36.1 49.8 -73.5) |
| LCH | lch(36.1 88.8 304.1) |
| OKLCH | oklch(0.471 0.215 280.0) |
Copy-ready code
/* CSS */
color: #4d3ace;
background-color: #4d3ace;
/* Tailwind (arbitrary) */
class="text-[#4d3ace] bg-[#4d3ace]"
/* SCSS */
$brand: #4d3ace;
/* SwiftUI */
Color(red: 0.302, green: 0.227, blue: 0.808)
/* Android */
Color.parseColor("#4d3ace")Accessibility — WCAG contrast
Aa
#4d3ace on white: 7.47:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#4d3ace on black: 2.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red30.2%
Green22.7%
Blue80.8%
CMYK percentages
Cyan62.6%
Magenta71.8%
Yellow0.0%
Key (black)19.2%
Color previews
#4d3ace text on a black background
contrast 2.81:1
Card sample
#4d3ace text on a white background
contrast 7.47:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4d3ace;
Background color
Panel with #4d3ace background
background-color: #4d3ace;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4d3ace;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(77, 58, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(77, 58, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4d3ace; background: linear-gradient(135deg, #4d3ace, #B03ACE);