Skip to content

#396fec

a balanced, electric blue · cool · closest name: royalblue

RGB
57, 111, 236
HSL
222°, 83%, 58%
CMYK
76, 53, 0, 8
Luminance
0.1829

Every format

HEX#396fec
RGBrgb(57, 111, 236)
HSLhsl(222, 83%, 58%)
CMYKcmyk(76%, 53%, 0%, 8%)
LABlab(49.9 25.5 -68.2)
LCHlch(49.9 72.8 290.5)
OKLCHoklch(0.577 0.198 263.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#396fec on white: 4.51:1
AA ✓ pass · AA-large · AAA
Aa
#396fec on black: 4.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red22.4%
Green43.5%
Blue92.5%

CMYK percentages

Cyan75.8%
Magenta53.0%
Yellow0.0%
Key (black)7.5%

Color previews

#396fec text on a black background

contrast 4.66:1

Card sample

#396fec text on a white background

contrast 4.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #396fec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #396fec in the Color Lab