#326fd2
a balanced, vivid blue · cool · closest name: royalblue
RGB
50, 111, 210
HSL
217°, 64%, 51%
CMYK
76, 47, 0, 18
Luminance
0.1670
Every format
| HEX | #326fd2 |
| RGB | rgb(50, 111, 210) |
| HSL | hsl(217, 64%, 51%) |
| CMYK | cmyk(76%, 47%, 0%, 18%) |
| LAB | lab(47.9 15.1 -56.7) |
| LCH | lch(47.9 58.7 284.9) |
| OKLCH | oklch(0.555 0.166 259.7) |
Copy-ready code
/* CSS */
color: #326fd2;
background-color: #326fd2;
/* Tailwind (arbitrary) */
class="text-[#326fd2] bg-[#326fd2]"
/* SCSS */
$brand: #326fd2;
/* SwiftUI */
Color(red: 0.196, green: 0.435, blue: 0.824)
/* Android */
Color.parseColor("#326fd2")Accessibility — WCAG contrast
Aa
#326fd2 on white: 4.84:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#326fd2 on black: 4.34:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red19.6%
Green43.5%
Blue82.4%
CMYK percentages
Cyan76.2%
Magenta47.1%
Yellow0.0%
Key (black)17.6%
Color previews
#326fd2 text on a black background
contrast 4.34:1
Card sample
#326fd2 text on a white background
contrast 4.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #326fd2;
Background color
Panel with #326fd2 background
background-color: #326fd2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #326fd2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(50, 111, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(50, 111, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #326fd2; background: linear-gradient(135deg, #326fd2, #6032D2);