Skip to content

#4656ff

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

RGB
70, 86, 255
HSL
235°, 100%, 64%
CMYK
73, 66, 0, 0
Luminance
0.1518

Every format

HEX#4656ff
RGBrgb(70, 86, 255)
HSLhsl(235, 100%, 64%)
CMYKcmyk(73%, 66%, 0%, 0%)
LABlab(45.9 48.9 -85.3)
LCHlch(45.9 98.3 299.8)
OKLCHoklch(0.553 0.247 271.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red27.5%
Green33.7%
Blue100.0%

CMYK percentages

Cyan72.5%
Magenta66.3%
Yellow0.0%
Key (black)0.0%

Color previews

#4656ff text on a black background

contrast 4.04:1

Card sample

#4656ff text on a white background

contrast 5.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4656ff;
Background color
Panel with #4656ff background
background-color: #4656ff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4656ff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(70, 86, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(70, 86, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4656ff;
background: linear-gradient(135deg, #4656ff, #B146FF);

Monochromatic scale

Palettes built from #4656ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4656ff in the Color Lab