Skip to content

#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
RGBrgb(89, 76, 239)
HSLhsl(245, 84%, 62%)
CMYKcmyk(63%, 68%, 0%, 6%)
LABlab(43.5 51.6 -80.1)
LCHlch(43.5 95.3 302.8)
OKLCHoklch(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);

Monochromatic scale

Palettes built from #594cef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #594cef in the Color Lab