#403cfd
a balanced, electric blue · warm · closest name: blue
RGB
64, 60, 253
HSL
241°, 98%, 61%
CMYK
75, 76, 0, 1
Luminance
0.1141
Every format
| HEX | #403cfd |
| RGB | rgb(64, 60, 253) |
| HSL | hsl(241, 98%, 61%) |
| CMYK | cmyk(75%, 76%, 0%, 1%) |
| LAB | lab(40.3 61.9 -93.4) |
| LCH | lch(40.3 112.1 303.5) |
| OKLCH | oklch(0.512 0.271 272.3) |
Copy-ready code
/* CSS */
color: #403cfd;
background-color: #403cfd;
/* Tailwind (arbitrary) */
class="text-[#403cfd] bg-[#403cfd]"
/* SCSS */
$brand: #403cfd;
/* SwiftUI */
Color(red: 0.251, green: 0.235, blue: 0.992)
/* Android */
Color.parseColor("#403cfd")Accessibility — WCAG contrast
Aa
#403cfd on white: 6.40:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#403cfd on black: 3.28:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green23.5%
Blue99.2%
CMYK percentages
Cyan74.7%
Magenta76.3%
Yellow0.0%
Key (black)0.8%
Color previews
#403cfd text on a black background
contrast 3.28:1
Card sample
#403cfd text on a white background
contrast 6.40:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #403cfd;
Background color
Panel with #403cfd background
background-color: #403cfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #403cfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 60, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 60, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #403cfd; background: linear-gradient(135deg, #403cfd, #C13CFD);