Skip to content

#3d5df2

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

RGB
61, 93, 242
HSL
229°, 87%, 59%
CMYK
75, 62, 0, 5
Luminance
0.1523

Every format

HEX#3d5df2
RGBrgb(61, 93, 242)
HSLhsl(229, 87%, 59%)
CMYKcmyk(75%, 62%, 0%, 5%)
LABlab(46.0 39.3 -77.9)
LCHlch(46.0 87.3 296.8)
OKLCHoklch(0.549 0.225 268.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3d5df2 on white: 5.19:1
AA ✓ pass · AA-large · AAA
Aa
#3d5df2 on black: 4.05:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.9%
Green36.5%
Blue94.9%

CMYK percentages

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

Color previews

#3d5df2 text on a black background

contrast 4.05:1

Card sample

#3d5df2 text on a white background

contrast 5.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3d5df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3d5df2 in the Color Lab