Skip to content

#5682df

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

RGB
86, 130, 223
HSL
221°, 68%, 61%
CMYK
61, 42, 0, 13
Luminance
0.2327

Every format

HEX#5682df
RGBrgb(86, 130, 223)
HSLhsl(221, 68%, 61%)
CMYKcmyk(61%, 42%, 0%, 13%)
LABlab(55.4 13.4 -52.0)
LCHlch(55.4 53.7 284.5)
OKLCHoklch(0.620 0.149 263.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5682df on white: 3.71:1
AA ✗ fail · AA-large · AAA
Aa
#5682df on black: 5.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red33.7%
Green51.0%
Blue87.5%

CMYK percentages

Cyan61.4%
Magenta41.7%
Yellow0.0%
Key (black)12.5%

Color previews

#5682df text on a black background

contrast 5.65:1

Card sample

#5682df text on a white background

contrast 3.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5682df;
Background color
Panel with #5682df background
background-color: #5682df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5682df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(86, 130, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 130, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5682df;
background: linear-gradient(135deg, #5682df, #8556DF);

Monochromatic scale

Palettes built from #5682df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5682df in the Color Lab