#321cf8
a balanced, electric blue · warm · closest name: blue
RGB
50, 28, 248
HSL
246°, 94%, 54%
CMYK
80, 89, 0, 3
Luminance
0.0829
Every format
| HEX | #321cf8 |
| RGB | rgb(50, 28, 248) |
| HSL | hsl(246, 94%, 54%) |
| CMYK | cmyk(80%, 89%, 0%, 3%) |
| LAB | lab(34.6 72.7 -100.1) |
| LCH | lch(34.6 123.7 306.0) |
| OKLCH | oklch(0.469 0.289 270.6) |
Copy-ready code
/* CSS */
color: #321cf8;
background-color: #321cf8;
/* Tailwind (arbitrary) */
class="text-[#321cf8] bg-[#321cf8]"
/* SCSS */
$brand: #321cf8;
/* SwiftUI */
Color(red: 0.196, green: 0.110, blue: 0.973)
/* Android */
Color.parseColor("#321cf8")Accessibility — WCAG contrast
Aa
#321cf8 on white: 7.90:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#321cf8 on black: 2.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red19.6%
Green11.0%
Blue97.3%
CMYK percentages
Cyan79.8%
Magenta88.7%
Yellow0.0%
Key (black)2.7%
Color previews
#321cf8 text on a black background
contrast 2.66:1
Card sample
#321cf8 text on a white background
contrast 7.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #321cf8;
Background color
Panel with #321cf8 background
background-color: #321cf8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #321cf8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(50, 28, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(50, 28, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #321cf8; background: linear-gradient(135deg, #321cf8, #C51CF8);