Skip to content

#3d2abc

a balanced, vivid blue · warm · closest name: navy

RGB
61, 42, 188
HSL
248°, 64%, 45%
CMYK
68, 78, 0, 26
Luminance
0.0628

Every format

HEX#3d2abc
RGBrgb(61, 42, 188)
HSLhsl(248, 64%, 45%)
CMYKcmyk(68%, 78%, 0%, 26%)
LABlab(30.1 50.9 -72.9)
LCHlch(30.1 88.9 304.9)
OKLCHoklch(0.420 0.213 277.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3d2abc on white: 9.31:1
AA ✓ pass · AA-large · AAA
Aa
#3d2abc on black: 2.26:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.9%
Green16.5%
Blue73.7%

CMYK percentages

Cyan67.6%
Magenta77.7%
Yellow0.0%
Key (black)26.3%

Color previews

#3d2abc text on a black background

contrast 2.26:1

Card sample

#3d2abc text on a white background

contrast 9.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(61, 42, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(61, 42, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3d2abc;
background: linear-gradient(135deg, #3d2abc, #9E2ABC);

Monochromatic scale

Palettes built from #3d2abc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3d2abc in the Color Lab