#020918 color

#020918 rgb(2, 9, 24)
Shades of black

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

In the RGB color model it is made of 0.8% red, 3.5% green and 9.4% blue (2, 9, 24).

Its hue angle is 221°, with 85% saturation and 5% lightness. For print, the CMYK equivalent is 92% cyan, 63% magenta, 0% yellow and 91% black.

The closest named color is Midnight Edition (#0C121B), a difference of 2.5 ΔE, a small difference.

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

#020918 color codes

HEX#020918
RGBrgb(2, 9, 24)
RGB percentrgb(0.8%, 3.5%, 9.4%)
HSLhsl(221, 85%, 5%)
HSV / HSBhsv(221, 92%, 9%)
CMYKcmyk(92%, 63%, 0%, 91%)
CIE LABlab(2.48, 1.1, -8.63)
CIE LCHlch(2.48, 8.7, 277.28)
CIE XYZxyz(0.288, 0.274, 0.902)
Decimal133400
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #020918; }
.text { color: #020918; }
.border { border: 2px solid #020918; }
.transparent { background-color: rgb(2 9 24 / 50%); }
.gradient { background: linear-gradient(to right, #020918, #060218); }
Background
Text color
Border

Similar colors

Questions

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