#326df2
a balanced, electric blue · cool · closest name: royalblue
RGB
50, 109, 242
HSL
222°, 88%, 57%
CMYK
79, 55, 0, 5
Luminance
0.1803
Every format
| HEX | #326df2 |
| RGB | rgb(50, 109, 242) |
| HSL | hsl(222, 88%, 57%) |
| CMYK | cmyk(79%, 55%, 0%, 5%) |
| LAB | lab(49.5 28.3 -72.1) |
| LCH | lch(49.5 77.4 291.4) |
| OKLCH | oklch(0.575 0.210 263.3) |
Copy-ready code
/* CSS */
color: #326df2;
background-color: #326df2;
/* Tailwind (arbitrary) */
class="text-[#326df2] bg-[#326df2]"
/* SCSS */
$brand: #326df2;
/* SwiftUI */
Color(red: 0.196, green: 0.427, blue: 0.949)
/* Android */
Color.parseColor("#326df2")Accessibility — WCAG contrast
Aa
#326df2 on white: 4.56:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#326df2 on black: 4.61:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red19.6%
Green42.7%
Blue94.9%
CMYK percentages
Cyan79.3%
Magenta55.0%
Yellow0.0%
Key (black)5.1%
Color previews
#326df2 text on a black background
contrast 4.61:1
Card sample
#326df2 text on a white background
contrast 4.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #326df2;
Background color
Panel with #326df2 background
background-color: #326df2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #326df2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(50, 109, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(50, 109, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #326df2; background: linear-gradient(135deg, #326df2, #7732F2);