#403afd
a balanced, electric blue · warm · closest name: blue
RGB
64, 58, 253
HSL
242°, 98%, 61%
CMYK
75, 77, 0, 1
Luminance
0.1121
Every format
| HEX | #403afd |
| RGB | rgb(64, 58, 253) |
| HSL | hsl(242, 98%, 61%) |
| CMYK | cmyk(75%, 77%, 0%, 1%) |
| LAB | lab(39.9 62.9 -94.0) |
| LCH | lch(39.9 113.1 303.8) |
| OKLCH | oklch(0.509 0.272 272.4) |
Copy-ready code
/* CSS */
color: #403afd;
background-color: #403afd;
/* Tailwind (arbitrary) */
class="text-[#403afd] bg-[#403afd]"
/* SCSS */
$brand: #403afd;
/* SwiftUI */
Color(red: 0.251, green: 0.227, blue: 0.992)
/* Android */
Color.parseColor("#403afd")Accessibility — WCAG contrast
Aa
#403afd on white: 6.48:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#403afd on black: 3.24:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green22.7%
Blue99.2%
CMYK percentages
Cyan74.7%
Magenta77.1%
Yellow0.0%
Key (black)0.8%
Color previews
#403afd text on a black background
contrast 3.24:1
Card sample
#403afd text on a white background
contrast 6.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #403afd;
Background color
Panel with #403afd background
background-color: #403afd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #403afd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 58, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 58, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #403afd; background: linear-gradient(135deg, #403afd, #C23AFD);