#02171D color

#02171D rgb(2, 23, 29)
Shades of black

The hex color #02171D is a very dark, vivid cyan.

In the RGB color model it is made of 0.8% red, 9% green and 11.4% blue (2, 23, 29).

Its hue angle is 193°, with 87% saturation and 6% lightness. For print, the CMYK equivalent is 93% cyan, 21% magenta, 0% yellow and 89% black.

The closest named color is Black Stallion (#0E191C), a difference of 2.8 ΔE, a small difference.

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

#02171D color codes

HEX#02171D
RGBrgb(2, 23, 29)
RGB percentrgb(0.8%, 9%, 11.4%)
HSLhsl(193, 87%, 6%)
HSV / HSBhsv(193, 93%, 11%)
CMYKcmyk(93%, 21%, 0%, 89%)
CIE LABlab(6.45, -5.16, -6.66)
CIE LCHlch(6.45, 8.42, 232.24)
CIE XYZxyz(0.553, 0.714, 1.271)
Decimal136989
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #02171D, 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 #02171DRatioAAAAAAA large
Sample text1.14:1FailFailFail
Sample text18.37:1PassPassPass
#02171D as text onRatioAAAAAAA large
Sample text18.37:1PassPassPass
Sample text1.14: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 #02171D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #02171d; }
.text { color: #02171d; }
.border { border: 2px solid #02171d; }
.transparent { background-color: rgb(2 23 29 / 50%); }
.gradient { background: linear-gradient(to right, #02171d, #02091d); }
Background
Text color
Border

Similar colors

Questions

What color is #02171D?
#02171D is a very dark, vivid cyan, closest to the named color Black Stallion. It belongs to the black family of colors.
What is the RGB value of #02171D?
The RGB value is 2, 23, 29: 2 red, 23 green and 29 blue on a 0 to 255 scale.
What is the complementary color of #02171D?
The complementary color is #1D0802, found by rotating the hue 180° on the color wheel.
Is black or white text better on #02171D?
White text. Black text has a contrast ratio of 1.14:1 and white text 18.37:1. WCAG asks for at least 4.5:1 for normal text.