Skip to content

#3b2df6

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

RGB
59, 45, 246
HSL
244°, 92%, 57%
CMYK
76, 82, 0, 4
Luminance
0.0946

Every format

HEX#3b2df6
RGBrgb(59, 45, 246)
HSLhsl(244, 92%, 57%)
CMYKcmyk(76%, 82%, 0%, 4%)
LABlab(36.9 66.4 -95.2)
LCHlch(36.9 116.0 304.9)
OKLCHoklch(0.485 0.276 272.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3b2df6 on white: 7.26:1
AA ✓ pass · AA-large · AAA
Aa
#3b2df6 on black: 2.89:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.1%
Green17.6%
Blue96.5%

CMYK percentages

Cyan76.0%
Magenta81.7%
Yellow0.0%
Key (black)3.5%

Color previews

#3b2df6 text on a black background

contrast 2.89:1

Card sample

#3b2df6 text on a white background

contrast 7.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(59, 45, 246, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(59, 45, 246, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3b2df6;
background: linear-gradient(135deg, #3b2df6, #C12DF6);

Monochromatic scale

Palettes built from #3b2df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3b2df6 in the Color Lab