#594cef
a balanced, electric blue · warm · closest name: slateblue
RGB
89, 76, 239
HSL
245°, 84%, 62%
CMYK
63, 68, 0, 6
Luminance
0.1352
Every format
| HEX | #594cef |
| RGB | rgb(89, 76, 239) |
| HSL | hsl(245, 84%, 62%) |
| CMYK | cmyk(63%, 68%, 0%, 6%) |
| LAB | lab(43.5 51.6 -80.1) |
| LCH | lch(43.5 95.3 302.8) |
| OKLCH | oklch(0.535 0.234 278.5) |
Copy-ready code
/* CSS */
color: #594cef;
background-color: #594cef;
/* Tailwind (arbitrary) */
class="text-[#594cef] bg-[#594cef]"
/* SCSS */
$brand: #594cef;
/* SwiftUI */
Color(red: 0.349, green: 0.298, blue: 0.937)
/* Android */
Color.parseColor("#594cef")Accessibility — WCAG contrast
Aa
#594cef on white: 5.67:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#594cef on black: 3.70:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red34.9%
Green29.8%
Blue93.7%
CMYK percentages
Cyan62.8%
Magenta68.2%
Yellow0.0%
Key (black)6.3%
Color previews
#594cef text on a black background
contrast 3.70:1
Card sample
#594cef text on a white background
contrast 5.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #594cef;
Background color
Panel with #594cef background
background-color: #594cef;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #594cef;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(89, 76, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(89, 76, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #594cef; background: linear-gradient(135deg, #594cef, #C64CEF);