#4f71ff
a light, electric blue · warm · closest name: royalblue
RGB
79, 113, 255
HSL
228°, 100%, 66%
CMYK
69, 56, 0, 0
Luminance
0.2069
Every format
| HEX | #4f71ff |
| RGB | rgb(79, 113, 255) |
| HSL | hsl(228, 100%, 66%) |
| CMYK | cmyk(69%, 56%, 0%, 0%) |
| LAB | lab(52.6 33.7 -74.3) |
| LCH | lch(52.6 81.5 294.4) |
| OKLCH | oklch(0.604 0.214 268.9) |
Copy-ready code
/* CSS */
color: #4f71ff;
background-color: #4f71ff;
/* Tailwind (arbitrary) */
class="text-[#4f71ff] bg-[#4f71ff]"
/* SCSS */
$brand: #4f71ff;
/* SwiftUI */
Color(red: 0.310, green: 0.443, blue: 1.000)
/* Android */
Color.parseColor("#4f71ff")Accessibility — WCAG contrast
Aa
#4f71ff on white: 4.09:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#4f71ff on black: 5.14:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.0%
Green44.3%
Blue100.0%
CMYK percentages
Cyan69.0%
Magenta55.7%
Yellow0.0%
Key (black)0.0%
Color previews
#4f71ff text on a black background
contrast 5.14:1
Card sample
#4f71ff text on a white background
contrast 4.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4f71ff;
Background color
Panel with #4f71ff background
background-color: #4f71ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4f71ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(79, 113, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 113, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f71ff; background: linear-gradient(135deg, #4f71ff, #A24FFF);