#171F29
Closest named color: Dark (#1B2431). oklch(23.6% 0.023 254.3), rgb(23, 31, 41).
Aa
White text reads best on this color (16.60:1).
About this color
#171F29 is a very dark close to neutral grey. In OKLCH its lightness is 24%, its chroma 0.023. It has too little chroma to lean warm or cool. The nearest named color is Dark (#1B2431), ΔE 0.022 away. White text reads best on it, at 16.60:1.
| Hue family | Neutrals |
| Lightness | very dark (24%) |
| Chroma | close to neutral grey (0.023) |
| Temperature | neutral |
| Nearest name | Dark (#1B2431) |
| Black text | 1.26:1 |
| White text | 16.60:1 |
Values
| HEX | #171F29 |
| RGB | rgb(23, 31, 41) |
| HSL | hsl(213, 28%, 13%) |
| OKLCH | oklch(23.6% 0.023 254.3) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #171F29 | 16.60:1 | AAA | Lc -106.0 | Preferred for body text |
| Black text on #171F29 | 1.26:1 | Fails | Lc 0.0 | Not readable |
| #171F29 text on white | 16.60:1 | AAA | Lc 103.5 | Preferred for body text |
| #171F29 text on black | 1.26:1 | Fails | Lc 0.0 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.
-
Step 50
50
#F4F6F8
oklch(97.2% 0.003 247.9)
-
Step 100
100
#E6EAEF
oklch(93.5% 0.008 253.9)
-
Step 200
200
#D3DAE3
oklch(88.6% 0.015 254.6)
-
Step 300
300
#B5C2D2
oklch(80.9% 0.027 253.6)
-
Step 400
400
#8FA3BB
oklch(70.8% 0.042 253.1)
-
Step 500
500
#738CAB
oklch(63.2% 0.055 254)
-
Step 600
600
#5B7596
oklch(55.5% 0.06 254.7)
-
Step 700
700
#4B6280
oklch(49% 0.056 255.3)
-
Step 800
800
#3E5068
oklch(42.6% 0.046 255.8)
-
Step 900
900
#354354
oklch(37.8% 0.034 253.6)
-
Step 950
950 (this color)
#171F29
oklch(23.6% 0.023 254.3)
#171F29 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #1B1F29 | 0.007 |
| Deuteranopia (no green cones) | #191E29 | 0.005 |
| Tritanopia (no blue cones) | #112122 | 0.020 |
| Achromatopsia (no color) | #1E1E1E | 0.023 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #171F29
#171F29
oklch(23.6% 0.023 254.3)
- #251D12
#251D12
oklch(23.7% 0.023 75.1)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #171F29, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark #1B2431 ΔE 0.022
- Rich Black #0D1B2A ΔE 0.023
- Jet #212529 ΔE 0.029
- Oxford Blue #1B263B ΔE 0.039
- Rich Navy #001219 ΔE 0.069
- Space Cadet #2B2D42 ΔE 0.072
- Dark Brown #341C02 ΔE 0.078
- Gunmetal #293241 ΔE 0.080
Use #171F29 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.