Skip to content

#2020eb

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

RGB
32, 32, 235
HSL
240°, 84%, 52%
CMYK
86, 86, 0, 8
Luminance
0.0734

Every format

HEX#2020eb
RGBrgb(32, 32, 235)
HSLhsl(240, 84%, 52%)
CMYKcmyk(86%, 86%, 0%, 8%)
LABlab(32.6 67.3 -96.1)
LCHlch(32.6 117.3 305.0)
OKLCHoklch(0.448 0.278 267.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2020eb on white: 8.51:1
AA ✓ pass · AA-large · AAA
Aa
#2020eb on black: 2.47:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.5%
Green12.5%
Blue92.2%

CMYK percentages

Cyan86.4%
Magenta86.4%
Yellow0.0%
Key (black)7.8%

Color previews

#2020eb text on a black background

contrast 2.47:1

Card sample

#2020eb text on a white background

contrast 8.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2020eb;
Background color
Panel with #2020eb background
background-color: #2020eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #2020eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(32, 32, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 32, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2020eb;
background: linear-gradient(135deg, #2020eb, #A720EB);

Monochromatic scale

Palettes built from #2020eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2020eb in the Color Lab