#656cd4
a balanced, vivid blue · warm · closest name: royalblue
RGB
101, 108, 212
HSL
236°, 56%, 61%
CMYK
52, 49, 0, 17
Luminance
0.1825
Every format
| HEX | #656cd4 |
| RGB | rgb(101, 108, 212) |
| HSL | hsl(236, 56%, 61%) |
| CMYK | cmyk(52%, 49%, 0%, 17%) |
| LAB | lab(49.8 26.2 -54.6) |
| LCH | lch(49.8 60.6 295.6) |
| OKLCH | oklch(0.577 0.157 277.4) |
Copy-ready code
/* CSS */
color: #656cd4;
background-color: #656cd4;
/* Tailwind (arbitrary) */
class="text-[#656cd4] bg-[#656cd4]"
/* SCSS */
$brand: #656cd4;
/* SwiftUI */
Color(red: 0.396, green: 0.424, blue: 0.831)
/* Android */
Color.parseColor("#656cd4")Accessibility — WCAG contrast
Aa
#656cd4 on white: 4.52:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#656cd4 on black: 4.65:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red39.6%
Green42.4%
Blue83.1%
CMYK percentages
Cyan52.4%
Magenta49.1%
Yellow0.0%
Key (black)16.9%
Color previews
#656cd4 text on a black background
contrast 4.65:1
Card sample
#656cd4 text on a white background
contrast 4.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #656cd4;
Background color
Panel with #656cd4 background
background-color: #656cd4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #656cd4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(101, 108, 212, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(101, 108, 212, 0.45);
Border & gradient
Gradient panel
border: 3px solid #656cd4; background: linear-gradient(135deg, #656cd4, #A865D4);