#4077ff
a balanced, electric blue · cool · closest name: royalblue
RGB
64, 119, 255
HSL
223°, 100%, 63%
CMYK
75, 53, 0, 0
Luminance
0.2150
Every format
| HEX | #4077ff |
| RGB | rgb(64, 119, 255) |
| HSL | hsl(223, 100%, 63%) |
| CMYK | cmyk(75%, 53%, 0%, 0%) |
| LAB | lab(53.5 28.1 -72.8) |
| LCH | lch(53.5 78.1 291.1) |
| OKLCH | oklch(0.609 0.211 264.4) |
Copy-ready code
/* CSS */
color: #4077ff;
background-color: #4077ff;
/* Tailwind (arbitrary) */
class="text-[#4077ff] bg-[#4077ff]"
/* SCSS */
$brand: #4077ff;
/* SwiftUI */
Color(red: 0.251, green: 0.467, blue: 1.000)
/* Android */
Color.parseColor("#4077ff")Accessibility — WCAG contrast
Aa
#4077ff on white: 3.96:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#4077ff on black: 5.30:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green46.7%
Blue100.0%
CMYK percentages
Cyan74.9%
Magenta53.3%
Yellow0.0%
Key (black)0.0%
Color previews
#4077ff text on a black background
contrast 5.30:1
Card sample
#4077ff text on a white background
contrast 3.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4077ff;
Background color
Panel with #4077ff background
background-color: #4077ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4077ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 119, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 119, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4077ff; background: linear-gradient(135deg, #4077ff, #8840FF);