Skip to content

#3c5df0

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

RGB
60, 93, 240
HSL
229°, 86%, 59%
CMYK
75, 61, 0, 6
Luminance
0.1508

Every format

HEX#3c5df0
RGBrgb(60, 93, 240)
HSLhsl(229, 86%, 59%)
CMYKcmyk(75%, 61%, 0%, 6%)
LABlab(45.7 38.5 -77.1)
LCHlch(45.7 86.2 296.5)
OKLCHoklch(0.547 0.223 268.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3c5df0 on white: 5.23:1
AA ✓ pass · AA-large · AAA
Aa
#3c5df0 on black: 4.02:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.5%
Green36.5%
Blue94.1%

CMYK percentages

Cyan75.0%
Magenta61.2%
Yellow0.0%
Key (black)5.9%

Color previews

#3c5df0 text on a black background

contrast 4.02:1

Card sample

#3c5df0 text on a white background

contrast 5.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(60, 93, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(60, 93, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3c5df0;
background: linear-gradient(135deg, #3c5df0, #933CF0);

Monochromatic scale

Palettes built from #3c5df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3c5df0 in the Color Lab