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