Skip to content

#3c2abc

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

RGB
60, 42, 188
HSL
247°, 64%, 45%
CMYK
68, 78, 0, 26
Luminance
0.0625

Every format

HEX#3c2abc
RGBrgb(60, 42, 188)
HSLhsl(247, 64%, 45%)
CMYKcmyk(68%, 78%, 0%, 26%)
LABlab(30.0 50.8 -73.0)
LCHlch(30.0 89.0 304.8)
OKLCHoklch(0.419 0.213 277.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3c2abc on white: 9.34:1
AA ✓ pass · AA-large · AAA
Aa
#3c2abc on black: 2.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan68.1%
Magenta77.7%
Yellow0.0%
Key (black)26.3%

Color previews

#3c2abc text on a black background

contrast 2.25:1

Card sample

#3c2abc text on a white background

contrast 9.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3c2abc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3c2abc in the Color Lab