#321ffc
a balanced, electric blue · warm · closest name: blue
RGB
50, 31, 252
HSL
245°, 97%, 56%
CMYK
80, 88, 0, 1
Luminance
0.0869
Every format
| HEX | #321ffc |
| RGB | rgb(50, 31, 252) |
| HSL | hsl(245, 97%, 56%) |
| CMYK | cmyk(80%, 88%, 0%, 1%) |
| LAB | lab(35.4 72.8 -101.0) |
| LCH | lch(35.4 124.5 305.8) |
| OKLCH | oklch(0.476 0.292 270.3) |
Copy-ready code
/* CSS */
color: #321ffc;
background-color: #321ffc;
/* Tailwind (arbitrary) */
class="text-[#321ffc] bg-[#321ffc]"
/* SCSS */
$brand: #321ffc;
/* SwiftUI */
Color(red: 0.196, green: 0.122, blue: 0.988)
/* Android */
Color.parseColor("#321ffc")Accessibility — WCAG contrast
Aa
#321ffc on white: 7.67:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#321ffc on black: 2.74:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red19.6%
Green12.2%
Blue98.8%
CMYK percentages
Cyan80.2%
Magenta87.7%
Yellow0.0%
Key (black)1.2%
Color previews
#321ffc text on a black background
contrast 2.74:1
Card sample
#321ffc text on a white background
contrast 7.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #321ffc;
Background color
Panel with #321ffc background
background-color: #321ffc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #321ffc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(50, 31, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(50, 31, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #321ffc; background: linear-gradient(135deg, #321ffc, #C61FFC);