#421ace
a balanced, electric blue · warm · closest name: blue
RGB
66, 26, 206
HSL
253°, 78%, 46%
CMYK
68, 87, 0, 19
Luminance
0.0635
Every format
| HEX | #421ace |
| RGB | rgb(66, 26, 206) |
| HSL | hsl(253, 78%, 46%) |
| CMYK | cmyk(68%, 87%, 0%, 19%) |
| LAB | lab(30.3 63.0 -83.1) |
| LCH | lch(30.3 104.3 307.2) |
| OKLCH | oklch(0.428 0.243 278.8) |
Copy-ready code
/* CSS */
color: #421ace;
background-color: #421ace;
/* Tailwind (arbitrary) */
class="text-[#421ace] bg-[#421ace]"
/* SCSS */
$brand: #421ace;
/* SwiftUI */
Color(red: 0.259, green: 0.102, blue: 0.808)
/* Android */
Color.parseColor("#421ace")Accessibility — WCAG contrast
Aa
#421ace on white: 9.25:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#421ace on black: 2.27:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.9%
Green10.2%
Blue80.8%
CMYK percentages
Cyan68.0%
Magenta87.4%
Yellow0.0%
Key (black)19.2%
Color previews
#421ace text on a black background
contrast 2.27:1
Card sample
#421ace text on a white background
contrast 9.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #421ace;
Background color
Panel with #421ace background
background-color: #421ace;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #421ace;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(66, 26, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(66, 26, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #421ace; background: linear-gradient(135deg, #421ace, #BA1ACE);