#326df4
a balanced, electric blue · cool · closest name: royalblue
RGB
50, 109, 244
HSL
222°, 90%, 58%
CMYK
80, 55, 0, 4
Luminance
0.1815
Every format
| HEX | #326df4 |
| RGB | rgb(50, 109, 244) |
| HSL | hsl(222, 90%, 58%) |
| CMYK | cmyk(80%, 55%, 0%, 4%) |
| LAB | lab(49.7 29.0 -73.0) |
| LCH | lch(49.7 78.5 291.7) |
| OKLCH | oklch(0.577 0.212 263.4) |
Copy-ready code
/* CSS */
color: #326df4;
background-color: #326df4;
/* Tailwind (arbitrary) */
class="text-[#326df4] bg-[#326df4]"
/* SCSS */
$brand: #326df4;
/* SwiftUI */
Color(red: 0.196, green: 0.427, blue: 0.957)
/* Android */
Color.parseColor("#326df4")Accessibility — WCAG contrast
Aa
#326df4 on white: 4.54:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#326df4 on black: 4.63:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red19.6%
Green42.7%
Blue95.7%
CMYK percentages
Cyan79.5%
Magenta55.3%
Yellow0.0%
Key (black)4.3%
Color previews
#326df4 text on a black background
contrast 4.63:1
Card sample
#326df4 text on a white background
contrast 4.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #326df4;
Background color
Panel with #326df4 background
background-color: #326df4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #326df4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(50, 109, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(50, 109, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #326df4; background: linear-gradient(135deg, #326df4, #7832F4);