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