Skip to content

#3d7af2

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

RGB
61, 122, 242
HSL
220°, 87%, 59%
CMYK
75, 50, 0, 5
Luminance
0.2132

Every format

HEX#3d7af2
RGBrgb(61, 122, 242)
HSLhsl(220, 87%, 59%)
CMYKcmyk(75%, 50%, 0%, 5%)
LABlab(53.3 21.3 -66.0)
LCHlch(53.3 69.3 287.9)
OKLCHoklch(0.605 0.192 262.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3d7af2 on white: 3.99:1
AA ✗ fail · AA-large · AAA
Aa
#3d7af2 on black: 5.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.9%
Green47.8%
Blue94.9%

CMYK percentages

Cyan74.8%
Magenta49.6%
Yellow0.0%
Key (black)5.1%

Color previews

#3d7af2 text on a black background

contrast 5.26:1

Card sample

#3d7af2 text on a white background

contrast 3.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3d7af2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3d7af2 in the Color Lab