Skip to content

#3c7af4

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

RGB
60, 122, 244
HSL
220°, 89%, 60%
CMYK
75, 50, 0, 4
Luminance
0.2141

Every format

HEX#3c7af4
RGBrgb(60, 122, 244)
HSLhsl(220, 89%, 60%)
CMYKcmyk(75%, 50%, 0%, 4%)
LABlab(53.4 21.9 -66.9)
LCHlch(53.4 70.4 288.1)
OKLCHoklch(0.606 0.194 262.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3c7af4 on white: 3.98:1
AA ✗ fail · AA-large · AAA
Aa
#3c7af4 on black: 5.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.5%
Green47.8%
Blue95.7%

CMYK percentages

Cyan75.4%
Magenta50.0%
Yellow0.0%
Key (black)4.3%

Color previews

#3c7af4 text on a black background

contrast 5.28:1

Card sample

#3c7af4 text on a white background

contrast 3.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(60, 122, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(60, 122, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3c7af4;
background: linear-gradient(135deg, #3c7af4, #793CF4);

Monochromatic scale

Palettes built from #3c7af4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3c7af4 in the Color Lab