#020071 color

#020071 rgb(2, 0, 113)
Shades of black

The hex color #020071 is a dark, vivid blue.

In the RGB color model it is made of 0.8% red, 0% green and 44.3% blue (2, 0, 113).

Its hue angle is 241°, with 100% saturation and 22% lightness. For print, the CMYK equivalent is 98% cyan, 100% magenta, 0% yellow and 56% black.

The closest named color is Deep Blue (#040273), a difference of 0.5 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 16.92:1).

#020071 color codes

HEX#020071
RGBrgb(2, 0, 113)
RGB percentrgb(0.8%, 0%, 44.3%)
HSLhsl(241, 100%, 22%)
HSV / HSBhsv(241, 100%, 44%)
CMYKcmyk(98%, 100%, 0%, 56%)
CIE LABlab(10.59, 43.47, -59.01)
CIE LCHlch(10.59, 73.3, 306.38)
CIE XYZxyz(3.005, 1.205, 15.694)
Decimal131185
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #020071, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #020071RatioAAAAAAA large
Sample text1.24:1FailFailFail
Sample text16.92:1PassPassPass
#020071 as text onRatioAAAAAAA large
Sample text16.92:1PassPassPass
Sample text1.24:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #020071 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #020071; }
.text { color: #020071; }
.border { border: 2px solid #020071; }
.transparent { background-color: rgb(2 0 113 / 50%); }
.gradient { background: linear-gradient(to right, #020071, #3b0071); }
Background
Text color
Border

Similar colors

Questions

What color is #020071?
#020071 is a dark, vivid blue, closest to the named color Deep Blue. It belongs to the black family of colors.
What is the RGB value of #020071?
The RGB value is 2, 0, 113: 2 red, 0 green and 113 blue on a 0 to 255 scale.
What is the complementary color of #020071?
The complementary color is #6F7100, found by rotating the hue 180° on the color wheel.
Is black or white text better on #020071?
White text. Black text has a contrast ratio of 1.24:1 and white text 16.92:1. WCAG asks for at least 4.5:1 for normal text.