Skip to content

#656fec

a light, electric blue · warm · closest name: royalblue

RGB
101, 111, 236
HSL
236°, 78%, 66%
CMYK
57, 53, 0, 8
Luminance
0.2019

Every format

HEX#656fec
RGBrgb(101, 111, 236)
HSLhsl(236, 78%, 66%)
CMYKcmyk(57%, 53%, 0%, 8%)
LABlab(52.0 32.0 -64.5)
LCHlch(52.0 72.0 296.4)
OKLCHoklch(0.599 0.186 275.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#656fec on white: 4.17:1
AA ✗ fail · AA-large · AAA
Aa
#656fec on black: 5.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red39.6%
Green43.5%
Blue92.5%

CMYK percentages

Cyan57.2%
Magenta53.0%
Yellow0.0%
Key (black)7.5%

Color previews

#656fec text on a black background

contrast 5.04:1

Card sample

#656fec text on a white background

contrast 4.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #656fec;
Background color
Panel with #656fec background
background-color: #656fec;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #656fec;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(101, 111, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(101, 111, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #656fec;
background: linear-gradient(135deg, #656fec, #B565EC);

Monochromatic scale

Palettes built from #656fec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #656fec in the Color Lab