Skip to content

#5658df

a balanced, vivid blue · warm · closest name: slateblue

RGB
86, 88, 223
HSL
239°, 68%, 61%
CMYK
61, 61, 0, 13
Luminance
0.1429

Every format

HEX#5658df
RGBrgb(86, 88, 223)
HSLhsl(239, 68%, 61%)
CMYKcmyk(61%, 61%, 0%, 13%)
LABlab(44.6 39.2 -69.3)
LCHlch(44.6 79.6 299.5)
OKLCHoklch(0.539 0.201 276.6)

Copy-ready code

/* CSS */
color: #5658df;
background-color: #5658df;
/* Tailwind (arbitrary) */
class="text-[#5658df] bg-[#5658df]"
/* SCSS */
$brand: #5658df;
/* SwiftUI */
Color(red: 0.337, green: 0.345, blue: 0.875)
/* Android */
Color.parseColor("#5658df")

Accessibility — WCAG contrast

Aa
#5658df on white: 5.44:1
AA ✓ pass · AA-large · AAA
Aa
#5658df on black: 3.86:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red33.7%
Green34.5%
Blue87.5%

CMYK percentages

Cyan61.4%
Magenta60.5%
Yellow0.0%
Key (black)12.5%

Color previews

#5658df text on a black background

contrast 3.86:1

Card sample

#5658df text on a white background

contrast 5.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5658df;
Background color
Panel with #5658df background
background-color: #5658df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5658df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(86, 88, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 88, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5658df;
background: linear-gradient(135deg, #5658df, #AF56DF);

Monochromatic scale

Palettes built from #5658df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5658df in the Color Lab