#403ace
a balanced, vivid blue · warm · closest name: slateblue
RGB
64, 58, 206
HSL
242°, 60%, 52%
CMYK
69, 72, 0, 19
Luminance
0.0857
Every format
| HEX | #403ace |
| RGB | rgb(64, 58, 206) |
| HSL | hsl(242, 60%, 52%) |
| CMYK | cmyk(69%, 72%, 0%, 19%) |
| LAB | lab(35.1 48.3 -75.1) |
| LCH | lch(35.1 89.3 302.8) |
| OKLCH | oklch(0.462 0.218 275.4) |
Copy-ready code
/* CSS */
color: #403ace;
background-color: #403ace;
/* Tailwind (arbitrary) */
class="text-[#403ace] bg-[#403ace]"
/* SCSS */
$brand: #403ace;
/* SwiftUI */
Color(red: 0.251, green: 0.227, blue: 0.808)
/* Android */
Color.parseColor("#403ace")Accessibility — WCAG contrast
Aa
#403ace on white: 7.74:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#403ace on black: 2.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green22.7%
Blue80.8%
CMYK percentages
Cyan68.9%
Magenta71.8%
Yellow0.0%
Key (black)19.2%
Color previews
#403ace text on a black background
contrast 2.71:1
Card sample
#403ace text on a white background
contrast 7.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #403ace;
Background color
Panel with #403ace background
background-color: #403ace;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #403ace;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 58, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 58, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #403ace; background: linear-gradient(135deg, #403ace, #A33ACE);