#656cef
a light, electric blue · warm · closest name: royalblue
RGB
101, 108, 239
HSL
237°, 81%, 67%
CMYK
58, 55, 0, 6
Luminance
0.1972
Every format
| HEX | #656cef |
| RGB | rgb(101, 108, 239) |
| HSL | hsl(237, 81%, 67%) |
| CMYK | cmyk(58%, 55%, 0%, 6%) |
| LAB | lab(51.5 34.8 -67.1) |
| LCH | lch(51.5 75.5 297.4) |
| OKLCH | oklch(0.596 0.194 276.5) |
Copy-ready code
/* CSS */
color: #656cef;
background-color: #656cef;
/* Tailwind (arbitrary) */
class="text-[#656cef] bg-[#656cef]"
/* SCSS */
$brand: #656cef;
/* SwiftUI */
Color(red: 0.396, green: 0.424, blue: 0.937)
/* Android */
Color.parseColor("#656cef")Accessibility — WCAG contrast
Aa
#656cef on white: 4.25:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#656cef on black: 4.94:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red39.6%
Green42.4%
Blue93.7%
CMYK percentages
Cyan57.7%
Magenta54.8%
Yellow0.0%
Key (black)6.3%
Color previews
#656cef text on a black background
contrast 4.94:1
Card sample
#656cef text on a white background
contrast 4.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #656cef;
Background color
Panel with #656cef background
background-color: #656cef;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #656cef;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(101, 108, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(101, 108, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #656cef; background: linear-gradient(135deg, #656cef, #BA65EF);