#677df4
a light, electric blue · warm · closest name: royalblue
RGB
103, 125, 244
HSL
231°, 87%, 68%
CMYK
58, 49, 0, 4
Luminance
0.2408
Every format
| HEX | #677df4 |
| RGB | rgb(103, 125, 244) |
| HSL | hsl(231, 87%, 68%) |
| CMYK | cmyk(58%, 49%, 0%, 4%) |
| LAB | lab(56.2 26.5 -62.4) |
| LCH | lch(56.2 67.8 293.0) |
| OKLCH | oklch(0.632 0.178 272.4) |
Copy-ready code
/* CSS */
color: #677df4;
background-color: #677df4;
/* Tailwind (arbitrary) */
class="text-[#677df4] bg-[#677df4]"
/* SCSS */
$brand: #677df4;
/* SwiftUI */
Color(red: 0.404, green: 0.490, blue: 0.957)
/* Android */
Color.parseColor("#677df4")Accessibility — WCAG contrast
Aa
#677df4 on white: 3.61:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#677df4 on black: 5.82:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red40.4%
Green49.0%
Blue95.7%
CMYK percentages
Cyan57.8%
Magenta48.8%
Yellow0.0%
Key (black)4.3%
Color previews
#677df4 text on a black background
contrast 5.82:1
Card sample
#677df4 text on a white background
contrast 3.61:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #677df4;
Background color
Panel with #677df4 background
background-color: #677df4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #677df4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(103, 125, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(103, 125, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #677df4; background: linear-gradient(135deg, #677df4, #AF67F4);