Skip to content

#2001cb

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

RGB
32, 1, 203
HSL
249°, 99%, 40%
CMYK
84, 100, 0, 20
Luminance
0.0464

Every format

HEX#2001cb
RGBrgb(32, 1, 203)
HSLhsl(249, 99%, 40%)
CMYKcmyk(84%, 100%, 0%, 20%)
LABlab(25.7 66.8 -89.1)
LCHlch(25.7 111.4 306.8)
OKLCHoklch(0.390 0.257 269.0)

Copy-ready code

/* CSS */
color: #2001cb;
background-color: #2001cb;
/* Tailwind (arbitrary) */
class="text-[#2001cb] bg-[#2001cb]"
/* SCSS */
$brand: #2001cb;
/* SwiftUI */
Color(red: 0.125, green: 0.004, blue: 0.796)
/* Android */
Color.parseColor("#2001cb")

Accessibility — WCAG contrast

Aa
#2001cb on white: 10.89:1
AA ✓ pass · AA-large · AAA
Aa
#2001cb on black: 1.93:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.5%
Green0.4%
Blue79.6%

CMYK percentages

Cyan84.2%
Magenta99.5%
Yellow0.0%
Key (black)20.4%

Color previews

#2001cb text on a black background

contrast 1.93:1

Card sample

#2001cb text on a white background

contrast 10.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2001cb;
Background color
Panel with #2001cb background
background-color: #2001cb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #2001cb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(32, 1, 203, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 1, 203, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2001cb;
background: linear-gradient(135deg, #2001cb, #A701CB);

Monochromatic scale

Palettes built from #2001cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2001cb in the Color Lab