Toolman

#2020DF color

#2020DF#2020DF

#2020DF is a medium, vivid blue, closest to the CSS named color mediumblue (#0000CD).

Color values

HEX#2020DF
RGBrgb(32, 32, 223)
HSLhsl(240, 75%, 50%)
CMYKcmyk(86%, 86%, 0%, 13%)
Decimal2105567
CSScolor: #2020DF;
Android0xFF2020DF
SwiftUIColor(red: 0.125, green: 0.125, blue: 0.875, alpha: 1)

Accessibility and contrast

White text on #2020DF9.00:1 — AA pass · AA large pass · AAA pass
Black text on #2020DF2.33:1 — AA fail · AA large fail · AAA fail
Recommended text colorwhite

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #2020DF

Each swatch keeps the hue and saturation of #2020DF and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #2020DF

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #2020DF in code

/* CSS */
.element { color: #2020DF; background-color: #2020DF; }
.element { color: rgb(32 32 223); }
.element { color: hsl(240 75% 50%); }

/* Tailwind arbitrary value */
<div class="bg-[#2020DF] text-white">

/* SCSS variable */
$brand: #2020DF;

Frequently asked questions

What color is #2020DF?

#2020DF is a medium, vivid blue. Its hue sits at 240° on the color wheel, with 75% saturation and 50% lightness.

What is #2020DF in RGB?

#2020DF converts to rgb(32, 32, 223) — 32 red, 32 green and 223 blue.

What is #2020DF in CMYK?

Approximately cmyk(86%, 86%, 0%, 13%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #2020DF be white or black?

White gives the better contrast ratio (9.00:1 versus 2.33:1).

What is the complementary color of #2020DF?

#DFDF20 — the hue directly opposite #2020DF on the color wheel.

Convert any color → · Browse all colors