#477df0
a balanced, electric blue · cool · closest name: royalblue
RGB
71, 125, 240
HSL
221°, 85%, 61%
CMYK
70, 48, 0, 6
Luminance
0.2230
Every format
| HEX | #477df0 |
| RGB | rgb(71, 125, 240) |
| HSL | hsl(221, 85%, 61%) |
| CMYK | cmyk(70%, 48%, 0%, 6%) |
| LAB | lab(54.3 19.9 -63.1) |
| LCH | lch(54.3 66.2 287.5) |
| OKLCH | oklch(0.613 0.182 263.2) |
Copy-ready code
/* CSS */
color: #477df0;
background-color: #477df0;
/* Tailwind (arbitrary) */
class="text-[#477df0] bg-[#477df0]"
/* SCSS */
$brand: #477df0;
/* SwiftUI */
Color(red: 0.278, green: 0.490, blue: 0.941)
/* Android */
Color.parseColor("#477df0")Accessibility — WCAG contrast
Aa
#477df0 on white: 3.85:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#477df0 on black: 5.46:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red27.8%
Green49.0%
Blue94.1%
CMYK percentages
Cyan70.4%
Magenta47.9%
Yellow0.0%
Key (black)5.9%
Color previews
#477df0 text on a black background
contrast 5.46:1
Card sample
#477df0 text on a white background
contrast 3.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #477df0;
Background color
Panel with #477df0 background
background-color: #477df0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #477df0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(71, 125, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(71, 125, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #477df0; background: linear-gradient(135deg, #477df0, #8247F0);