Skip to content

#397ddf

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

RGB
57, 125, 223
HSL
215°, 72%, 55%
CMYK
74, 44, 0, 13
Luminance
0.2086

Every format

HEX#397ddf
RGBrgb(57, 125, 223)
HSLhsl(215, 72%, 55%)
CMYKcmyk(74%, 44%, 0%, 13%)
LABlab(52.8 12.0 -56.1)
LCHlch(52.8 57.4 282.1)
OKLCHoklch(0.597 0.164 258.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#397ddf on white: 4.06:1
AA ✗ fail · AA-large · AAA
Aa
#397ddf on black: 5.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red22.4%
Green49.0%
Blue87.5%

CMYK percentages

Cyan74.4%
Magenta43.9%
Yellow0.0%
Key (black)12.5%

Color previews

#397ddf text on a black background

contrast 5.17:1

Card sample

#397ddf text on a white background

contrast 4.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #397ddf;
Background color
Panel with #397ddf background
background-color: #397ddf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #397ddf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(57, 125, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 125, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #397ddf;
background: linear-gradient(135deg, #397ddf, #6439DF);

Monochromatic scale

Palettes built from #397ddf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #397ddf in the Color Lab