#4175ff
a balanced, electric blue · cool · closest name: royalblue
RGB
65, 117, 255
HSL
224°, 100%, 63%
CMYK
75, 54, 0, 0
Luminance
0.2107
Every format
| HEX | #4175ff |
| RGB | rgb(65, 117, 255) |
| HSL | hsl(224, 100%, 63%) |
| CMYK | cmyk(75%, 54%, 0%, 0%) |
| LAB | lab(53.0 29.5 -73.6) |
| LCH | lch(53.0 79.3 291.8) |
| OKLCH | oklch(0.606 0.213 265.0) |
Copy-ready code
/* CSS */
color: #4175ff;
background-color: #4175ff;
/* Tailwind (arbitrary) */
class="text-[#4175ff] bg-[#4175ff]"
/* SCSS */
$brand: #4175ff;
/* SwiftUI */
Color(red: 0.255, green: 0.459, blue: 1.000)
/* Android */
Color.parseColor("#4175ff")Accessibility — WCAG contrast
Aa
#4175ff on white: 4.03:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#4175ff on black: 5.21:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.5%
Green45.9%
Blue100.0%
CMYK percentages
Cyan74.5%
Magenta54.1%
Yellow0.0%
Key (black)0.0%
Color previews
#4175ff text on a black background
contrast 5.21:1
Card sample
#4175ff text on a white background
contrast 4.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4175ff;
Background color
Panel with #4175ff background
background-color: #4175ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4175ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(65, 117, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 117, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4175ff; background: linear-gradient(135deg, #4175ff, #8C41FF);