Skip to content

#396bbc

a balanced, vivid blue · cool · closest name: dodgerblue

RGB
57, 107, 188
HSL
217°, 54%, 48%
CMYK
70, 43, 0, 26
Luminance
0.1502

Every format

HEX#396bbc
RGBrgb(57, 107, 188)
HSLhsl(217, 54%, 48%)
CMYKcmyk(70%, 43%, 0%, 26%)
LABlab(45.6 10.4 -47.6)
LCHlch(45.6 48.7 282.4)
OKLCHoklch(0.535 0.138 259.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#396bbc on white: 5.25:1
AA ✓ pass · AA-large · AAA
Aa
#396bbc on black: 4.00:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red22.4%
Green42.0%
Blue73.7%

CMYK percentages

Cyan69.7%
Magenta43.1%
Yellow0.0%
Key (black)26.3%

Color previews

#396bbc text on a black background

contrast 4.00:1

Card sample

#396bbc text on a white background

contrast 5.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(57, 107, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 107, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #396bbc;
background: linear-gradient(135deg, #396bbc, #5E39BC);

Monochromatic scale

Palettes built from #396bbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #396bbc in the Color Lab