Skip to content

#3955ff

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

RGB
57, 85, 255
HSL
232°, 100%, 61%
CMYK
78, 67, 0, 0
Luminance
0.1459

Every format

HEX#3955ff
RGBrgb(57, 85, 255)
HSLhsl(232, 100%, 61%)
CMYKcmyk(78%, 67%, 0%, 0%)
LABlab(45.1 48.3 -86.6)
LCHlch(45.1 99.2 299.1)
OKLCHoklch(0.546 0.251 268.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3955ff on white: 5.36:1
AA ✓ pass · AA-large · AAA
Aa
#3955ff on black: 3.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red22.4%
Green33.3%
Blue100.0%

CMYK percentages

Cyan77.6%
Magenta66.7%
Yellow0.0%
Key (black)0.0%

Color previews

#3955ff text on a black background

contrast 3.92:1

Card sample

#3955ff text on a white background

contrast 5.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3955ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3955ff in the Color Lab