Skip to content

#5b65df

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

RGB
91, 101, 223
HSL
236°, 67%, 62%
CMYK
59, 55, 0, 13
Luminance
0.1686

Every format

HEX#5b65df
RGBrgb(91, 101, 223)
HSLhsl(236, 67%, 62%)
CMYKcmyk(59%, 55%, 0%, 13%)
LABlab(48.1 32.1 -63.7)
LCHlch(48.1 71.3 296.8)
OKLCHoklch(0.565 0.183 275.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5b65df on white: 4.80:1
AA ✓ pass · AA-large · AAA
Aa
#5b65df on black: 4.37:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red35.7%
Green39.6%
Blue87.5%

CMYK percentages

Cyan59.2%
Magenta54.7%
Yellow0.0%
Key (black)12.5%

Color previews

#5b65df text on a black background

contrast 4.37:1

Card sample

#5b65df text on a white background

contrast 4.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5b65df;
Background color
Panel with #5b65df background
background-color: #5b65df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5b65df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(91, 101, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(91, 101, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5b65df;
background: linear-gradient(135deg, #5b65df, #A95BDF);

Monochromatic scale

Palettes built from #5b65df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5b65df in the Color Lab