#321cff
a balanced, electric blue · warm · closest name: blue
RGB
50, 28, 255
HSL
246°, 100%, 56%
CMYK
80, 89, 0, 0
Luminance
0.0873
Every format
| HEX | #321cff |
| RGB | rgb(50, 28, 255) |
| HSL | hsl(246, 100%, 56%) |
| CMYK | cmyk(80%, 89%, 0%, 0%) |
| LAB | lab(35.5 74.5 -102.5) |
| LCH | lch(35.5 126.8 306.0) |
| OKLCH | oklch(0.477 0.296 270.2) |
Copy-ready code
/* CSS */
color: #321cff;
background-color: #321cff;
/* Tailwind (arbitrary) */
class="text-[#321cff] bg-[#321cff]"
/* SCSS */
$brand: #321cff;
/* SwiftUI */
Color(red: 0.196, green: 0.110, blue: 1.000)
/* Android */
Color.parseColor("#321cff")Accessibility — WCAG contrast
Aa
#321cff on white: 7.65:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#321cff on black: 2.75:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red19.6%
Green11.0%
Blue100.0%
CMYK percentages
Cyan80.4%
Magenta89.0%
Yellow0.0%
Key (black)0.0%
Color previews
#321cff text on a black background
contrast 2.75:1
Card sample
#321cff text on a white background
contrast 7.65:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #321cff;
Background color
Panel with #321cff background
background-color: #321cff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #321cff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(50, 28, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(50, 28, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #321cff; background: linear-gradient(135deg, #321cff, #C91CFF);