Skip to content

#5679df

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

RGB
86, 121, 223
HSL
225°, 68%, 61%
CMYK
61, 46, 0, 13
Luminance
0.2098

Every format

HEX#5679df
RGBrgb(86, 121, 223)
HSLhsl(225, 68%, 61%)
CMYKcmyk(61%, 46%, 0%, 13%)
LABlab(52.9 18.9 -55.9)
LCHlch(52.9 59.0 288.7)
OKLCHoklch(0.601 0.160 267.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5679df on white: 4.04:1
AA ✗ fail · AA-large · AAA
Aa
#5679df on black: 5.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red33.7%
Green47.5%
Blue87.5%

CMYK percentages

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

Color previews

#5679df text on a black background

contrast 5.20:1

Card sample

#5679df text on a white background

contrast 4.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5679df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5679df in the Color Lab