#490df0
a balanced, electric violet · warm · closest name: blue
RGB
73, 13, 240
HSL
256°, 90%, 50%
CMYK
70, 95, 0, 6
Luminance
0.0800
Every format
| HEX | #490df0 |
| RGB | rgb(73, 13, 240) |
| HSL | hsl(256, 90%, 50%) |
| CMYK | cmyk(70%, 95%, 0%, 6%) |
| LAB | lab(34.0 75.0 -96.5) |
| LCH | lch(34.0 122.2 307.8) |
| OKLCH | oklch(0.466 0.281 277.7) |
Copy-ready code
/* CSS */
color: #490df0;
background-color: #490df0;
/* Tailwind (arbitrary) */
class="text-[#490df0] bg-[#490df0]"
/* SCSS */
$brand: #490df0;
/* SwiftUI */
Color(red: 0.286, green: 0.051, blue: 0.941)
/* Android */
Color.parseColor("#490df0")Accessibility — WCAG contrast
Aa
#490df0 on white: 8.08:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#490df0 on black: 2.60:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red28.6%
Green5.1%
Blue94.1%
CMYK percentages
Cyan69.6%
Magenta94.6%
Yellow0.0%
Key (black)5.9%
Color previews
#490df0 text on a black background
contrast 2.60:1
Card sample
#490df0 text on a white background
contrast 8.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #490df0;
Background color
Panel with #490df0 background
background-color: #490df0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #490df0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(73, 13, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(73, 13, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #490df0; background: linear-gradient(135deg, #490df0, #E00DF0);