#320cfd
a balanced, electric blue · warm · closest name: blue
RGB
50, 12, 253
HSL
250°, 98%, 52%
CMYK
80, 95, 0, 1
Luminance
0.0803
Every format
| HEX | #320cfd |
| RGB | rgb(50, 12, 253) |
| HSL | hsl(250, 98%, 52%) |
| CMYK | cmyk(80%, 95%, 0%, 1%) |
| LAB | lab(34.0 77.5 -103.8) |
| LCH | lch(34.0 129.5 306.8) |
| OKLCH | oklch(0.467 0.300 270.5) |
Copy-ready code
/* CSS */
color: #320cfd;
background-color: #320cfd;
/* Tailwind (arbitrary) */
class="text-[#320cfd] bg-[#320cfd]"
/* SCSS */
$brand: #320cfd;
/* SwiftUI */
Color(red: 0.196, green: 0.047, blue: 0.992)
/* Android */
Color.parseColor("#320cfd")Accessibility — WCAG contrast
Aa
#320cfd on white: 8.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#320cfd on black: 2.61:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red19.6%
Green4.7%
Blue99.2%
CMYK percentages
Cyan80.2%
Magenta95.3%
Yellow0.0%
Key (black)0.8%
Color previews
#320cfd text on a black background
contrast 2.61:1
Card sample
#320cfd text on a white background
contrast 8.06:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #320cfd;
Background color
Panel with #320cfd background
background-color: #320cfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #320cfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(50, 12, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(50, 12, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #320cfd; background: linear-gradient(135deg, #320cfd, #D30CFD);