Skip to content

#2020df

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

RGB
32, 32, 223
HSL
240°, 75%, 50%
CMYK
86, 86, 0, 13
Luminance
0.0667

Every format

HEX#2020df
RGBrgb(32, 32, 223)
HSLhsl(240, 75%, 50%)
CMYKcmyk(86%, 86%, 0%, 13%)
LABlab(31.0 64.0 -91.8)
LCHlch(31.0 111.9 304.9)
OKLCHoklch(0.434 0.266 267.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2020df on white: 9.00:1
AA ✓ pass · AA-large · AAA
Aa
#2020df on black: 2.33:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.5%
Green12.5%
Blue87.5%

CMYK percentages

Cyan85.7%
Magenta85.7%
Yellow0.0%
Key (black)12.5%

Color previews

#2020df text on a black background

contrast 2.33:1

Card sample

#2020df text on a white background

contrast 9.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2020df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2020df in the Color Lab