#02171D color
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 | |
|---|---|---|
| RGB | rgb(2, 23, 29) | |
| RGB percent | rgb(0.8%, 9%, 11.4%) | |
| HSL | hsl(193, 87%, 6%) | |
| HSV / HSB | hsv(193, 93%, 11%) | |
| CMYK | cmyk(93%, 21%, 0%, 89%) | |
| CIE LAB | lab(6.45, -5.16, -6.66) | |
| CIE LCH | lch(6.45, 8.42, 232.24) | |
| CIE XYZ | xyz(0.553, 0.714, 1.271) | |
| Decimal | 136989 | |
| Short hex | None (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 #02171D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.14:1 | Fail | Fail | Fail |
| Sample text | 18.37:1 | Pass | Pass | Pass |
| #02171D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.37:1 | Pass | Pass | Pass |
| Sample text | 1.14:1 | Fail | Fail | Fail |
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.
#13161dProtanopia
no red cones#0f131dDeuteranopia
no green cones#001919Tritanopia
no blue cones#141414Achromatopsia
no color vision
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); }
Similar colors
#0e191cBlack Stallion#10252aSunken Ship#010b13Rich Black#010b13Black Knight#0f282fBlack Box#1e272cBlack Pearl#002233Midnight Dreams#0c121bMidnight Edition
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.