#173F42 color
The hex color #173F42 is a very dark, desaturated cyan.
In the RGB color model it is made of 9% red, 24.7% green and 25.9% blue (23, 63, 66).
Its hue angle is 184°, with 48% saturation and 17% lightness. For print, the CMYK equivalent is 65% cyan, 5% magenta, 0% yellow and 74% black.
The closest named color is Emerald Forest (#224347), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.5:1).
#173F42 color codes
| HEX | #173F42 | |
|---|---|---|
| RGB | rgb(23, 63, 66) | |
| RGB percent | rgb(9%, 24.7%, 25.9%) | |
| HSL | hsl(184, 48%, 17%) | |
| HSV / HSB | hsv(184, 65%, 26%) | |
| CMYK | cmyk(65%, 5%, 0%, 74%) | |
| CIE LAB | lab(24.1, -12.85, -6.06) | |
| CIE LCH | lch(24.1, 14.2, 205.26) | |
| CIE XYZ | xyz(3.114, 4.13, 5.786) | |
| Decimal | 1523522 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #173F42, 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 #173F42 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.83:1 | Fail | Fail | Fail |
| Sample text | 11.5:1 | Pass | Pass | Pass |
| #173F42 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.5:1 | Pass | Pass | Pass |
| Sample text | 1.83: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 #173F42 looks to people with the most common types of color vision deficiency.
#3a3c42Protanopia
no red cones#333742Deuteranopia
no green cones#004140Tritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #173f42; }
.text { color: #173f42; }
.border { border: 2px solid #173f42; }
.transparent { background-color: rgb(23 63 66 / 50%); }
.gradient { background: linear-gradient(to right, #173f42, #172a42); }
Similar colors
#224347Emerald Forest#1c3d44Sunken Harbour#27454aMysterious Waters#1c3b42Royal Neptune#133337Elite Teal#12403cBotanical Night#2d454aLittle Mermaid#2f4f4fDark Slate Gray
Questions
- What color is #173F42?
- #173F42 is a very dark, desaturated cyan, closest to the named color Emerald Forest. It belongs to the teal family of colors.
- What is the RGB value of #173F42?
- The RGB value is 23, 63, 66: 23 red, 63 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #173F42?
- The complementary color is #421A17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #173F42?
- White text. Black text has a contrast ratio of 1.83:1 and white text 11.5:1. WCAG asks for at least 4.5:1 for normal text.