Skip to content

#5679ef

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

RGB
86, 121, 239
HSL
226°, 83%, 64%
CMYK
64, 49, 0, 6
Luminance
0.2189

Every format

HEX#5679ef
RGBrgb(86, 121, 239)
HSLhsl(226, 83%, 64%)
CMYKcmyk(64%, 49%, 0%, 6%)
LABlab(53.9 24.3 -63.3)
LCHlch(53.9 67.8 291.0)
OKLCHoklch(0.612 0.181 268.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5679ef on white: 3.91:1
AA ✗ fail · AA-large · AAA
Aa
#5679ef on black: 5.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red33.7%
Green47.5%
Blue93.7%

CMYK percentages

Cyan64.0%
Magenta49.4%
Yellow0.0%
Key (black)6.3%

Color previews

#5679ef text on a black background

contrast 5.38:1

Card sample

#5679ef text on a white background

contrast 3.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5679ef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5679ef in the Color Lab