#4d01eb
a balanced, electric violet · warm · closest name: blue
RGB
77, 1, 235
HSL
260°, 99%, 46%
CMYK
67, 100, 0, 8
Luminance
0.0760
Every format
| HEX | #4d01eb |
| RGB | rgb(77, 1, 235) |
| HSL | hsl(260, 99%, 46%) |
| CMYK | cmyk(67%, 100%, 0%, 8%) |
| LAB | lab(33.1 75.7 -95.1) |
| LCH | lch(33.1 121.5 308.5) |
| OKLCH | oklch(0.459 0.278 279.7) |
Copy-ready code
/* CSS */
color: #4d01eb;
background-color: #4d01eb;
/* Tailwind (arbitrary) */
class="text-[#4d01eb] bg-[#4d01eb]"
/* SCSS */
$brand: #4d01eb;
/* SwiftUI */
Color(red: 0.302, green: 0.004, blue: 0.922)
/* Android */
Color.parseColor("#4d01eb")Accessibility — WCAG contrast
Aa
#4d01eb on white: 8.33:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#4d01eb on black: 2.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red30.2%
Green0.4%
Blue92.2%
CMYK percentages
Cyan67.2%
Magenta99.6%
Yellow0.0%
Key (black)7.8%
Color previews
#4d01eb text on a black background
contrast 2.52:1
Card sample
#4d01eb text on a white background
contrast 8.33:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4d01eb;
Background color
Panel with #4d01eb background
background-color: #4d01eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4d01eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(77, 1, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(77, 1, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4d01eb; background: linear-gradient(135deg, #4d01eb, #E901EB);