#403cef
a balanced, electric blue · warm · closest name: blue
RGB
64, 60, 239
HSL
241°, 85%, 59%
CMYK
73, 75, 0, 6
Luminance
0.1055
Every format
| HEX | #403cef |
| RGB | rgb(64, 60, 239) |
| HSL | hsl(241, 85%, 59%) |
| CMYK | cmyk(73%, 75%, 0%, 6%) |
| LAB | lab(38.8 57.6 -87.9) |
| LCH | lch(38.8 105.2 303.2) |
| OKLCH | oklch(0.497 0.255 273.0) |
Copy-ready code
/* CSS */
color: #403cef;
background-color: #403cef;
/* Tailwind (arbitrary) */
class="text-[#403cef] bg-[#403cef]"
/* SCSS */
$brand: #403cef;
/* SwiftUI */
Color(red: 0.251, green: 0.235, blue: 0.937)
/* Android */
Color.parseColor("#403cef")Accessibility — WCAG contrast
Aa
#403cef on white: 6.75:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#403cef on black: 3.11:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green23.5%
Blue93.7%
CMYK percentages
Cyan73.2%
Magenta74.9%
Yellow0.0%
Key (black)6.3%
Color previews
#403cef text on a black background
contrast 3.11:1
Card sample
#403cef text on a white background
contrast 6.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #403cef;
Background color
Panel with #403cef background
background-color: #403cef;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #403cef;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 60, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 60, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #403cef; background: linear-gradient(135deg, #403cef, #B73CEF);