#020816 color

#020816 rgb(2, 8, 22)
Shades of black

The hex color #020816 is a very dark, vivid blue.

In the RGB color model it is made of 0.8% red, 3.1% green and 8.6% blue (2, 8, 22).

Its hue angle is 222°, with 83% saturation and 5% lightness. For print, the CMYK equivalent is 91% cyan, 64% magenta, 0% yellow and 91% black.

The closest named color is Dark Rift (#060B14), a difference of 2.2 ΔE, a small difference.

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

#020816 color codes

HEX#020816
RGBrgb(2, 8, 22)
RGB percentrgb(0.8%, 3.1%, 8.6%)
HSLhsl(222, 83%, 5%)
HSV / HSBhsv(222, 91%, 9%)
CMYKcmyk(91%, 64%, 0%, 91%)
CIE LABlab(2.21, 0.99, -7.53)
CIE LCHlch(2.21, 7.59, 277.52)
CIE XYZxyz(0.257, 0.244, 0.793)
Decimal133142
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #020816, 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 #020816RatioAAAAAAA large
Sample text1.05:1FailFailFail
Sample text20.02:1PassPassPass
#020816 as text onRatioAAAAAAA large
Sample text20.02:1PassPassPass
Sample text1.05: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 #020816 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #020816; }
.text { color: #020816; }
.border { border: 2px solid #020816; }
.transparent { background-color: rgb(2 8 22 / 50%); }
.gradient { background: linear-gradient(to right, #020816, #060216); }
Background
Text color
Border

Similar colors

Questions

What color is #020816?
#020816 is a very dark, vivid blue, closest to the named color Dark Rift. It belongs to the black family of colors.
What is the RGB value of #020816?
The RGB value is 2, 8, 22: 2 red, 8 green and 22 blue on a 0 to 255 scale.
What is the complementary color of #020816?
The complementary color is #161002, found by rotating the hue 180° on the color wheel.
Is black or white text better on #020816?
White text. Black text has a contrast ratio of 1.05:1 and white text 20.02:1. WCAG asks for at least 4.5:1 for normal text.