Skip to content

#3c55ff

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

RGB
60, 85, 255
HSL
232°, 100%, 62%
CMYK
77, 67, 0, 0
Luminance
0.1468

Every format

HEX#3c55ff
RGBrgb(60, 85, 255)
HSLhsl(232, 100%, 62%)
CMYKcmyk(77%, 67%, 0%, 0%)
LABlab(45.2 48.5 -86.4)
LCHlch(45.2 99.1 299.3)
OKLCHoklch(0.547 0.250 269.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3c55ff on white: 5.34:1
AA ✓ pass · AA-large · AAA
Aa
#3c55ff on black: 3.94:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.5%
Green33.3%
Blue100.0%

CMYK percentages

Cyan76.5%
Magenta66.7%
Yellow0.0%
Key (black)0.0%

Color previews

#3c55ff text on a black background

contrast 3.94:1

Card sample

#3c55ff text on a white background

contrast 5.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3c55ff;
Background color
Panel with #3c55ff background
background-color: #3c55ff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3c55ff;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #3c55ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3c55ff in the Color Lab