#4258ff
a balanced, electric blue · warm · closest name: royalblue
RGB
66, 88, 255
HSL
233°, 100%, 63%
CMYK
74, 66, 0, 0
Luminance
0.1536
Every format
| HEX | #4258ff |
| RGB | rgb(66, 88, 255) |
| HSL | hsl(233, 100%, 63%) |
| CMYK | cmyk(74%, 66%, 0%, 0%) |
| LAB | lab(46.1 47.3 -84.9) |
| LCH | lch(46.1 97.2 299.1) |
| OKLCH | oklch(0.554 0.246 270.1) |
Copy-ready code
/* CSS */
color: #4258ff;
background-color: #4258ff;
/* Tailwind (arbitrary) */
class="text-[#4258ff] bg-[#4258ff]"
/* SCSS */
$brand: #4258ff;
/* SwiftUI */
Color(red: 0.259, green: 0.345, blue: 1.000)
/* Android */
Color.parseColor("#4258ff")Accessibility — WCAG contrast
Aa
#4258ff on white: 5.16:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#4258ff on black: 4.07:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.9%
Green34.5%
Blue100.0%
CMYK percentages
Cyan74.1%
Magenta65.5%
Yellow0.0%
Key (black)0.0%
Color previews
#4258ff text on a black background
contrast 4.07:1
Card sample
#4258ff text on a white background
contrast 5.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4258ff;
Background color
Panel with #4258ff background
background-color: #4258ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4258ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(66, 88, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(66, 88, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4258ff; background: linear-gradient(135deg, #4258ff, #AA42FF);