#172127
Closest named color: Dark (#1B2431). oklch(24.1% 0.018 234.9), rgb(23, 33, 39).
Aa
White text reads best on this color (16.36:1).
About this color
#172127 is a very dark close to neutral grey. In OKLCH its lightness is 24%, its chroma 0.018. It has too little chroma to lean warm or cool. The nearest named color is Dark (#1B2431), ΔE 0.021 away. White text reads best on it, at 16.36:1.
| Hue family | Neutrals |
| Lightness | very dark (24%) |
| Chroma | close to neutral grey (0.018) |
| Temperature | neutral |
| Nearest name | Dark (#1B2431) |
| Black text | 1.28:1 |
| White text | 16.36:1 |
Values
| HEX | #172127 |
| RGB | rgb(23, 33, 39) |
| HSL | hsl(203, 26%, 12%) |
| OKLCH | oklch(24.1% 0.018 234.9) |
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 #172127 | 16.36:1 | AAA | Lc -105.8 | Preferred for body text |
| Black text on #172127 | 1.28:1 | Fails | Lc 0.0 | Not readable |
| #172127 text on white | 16.36:1 | AAA | Lc 103.3 | Preferred for body text |
| #172127 text on black | 1.28: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
#F4F6F7
oklch(97.2% 0.003 228.8)
-
Step 100
100
#E6EBED
oklch(93.7% 0.006 223.5)
-
Step 200
200
#D2DBE0
oklch(88.6% 0.012 231.7)
-
Step 300
300
#B4C3CD
oklch(80.9% 0.022 236.8)
-
Step 400
400
#8CA5B3
oklch(70.7% 0.035 232.5)
-
Step 500
500
#708EA1
oklch(63.1% 0.044 236.2)
-
Step 600
600
#57788C
oklch(55.5% 0.049 235.4)
-
Step 700
700
#476577
oklch(49.1% 0.045 235.3)
-
Step 800
800
#3B5361
oklch(42.8% 0.037 234.4)
-
Step 900
900
#33444F
oklch(37.7% 0.029 236.9)
-
Step 950
950 (this color)
#172127
oklch(24.1% 0.018 234.9)
#172127 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) | #1E2127 | 0.012 |
| Deuteranopia (no green cones) | #1C1F27 | 0.010 |
| Tritanopia (no blue cones) | #122323 | 0.014 |
| Achromatopsia (no color) | #202020 | 0.019 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #172127
#172127
oklch(24.1% 0.018 234.9)
- #271D17
#271D17
oklch(24.1% 0.019 52.5)
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 #172127, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark #1B2431 ΔE 0.021
- Jet #212529 ΔE 0.023
- Rich Black #0D1B2A ΔE 0.030
- Oxford Blue #1B263B ΔE 0.039
- Space Cadet #2B2D42 ΔE 0.070
- Rich Navy #001219 ΔE 0.073
- Dark Brown #341C02 ΔE 0.073
- Gunmetal #293241 ΔE 0.076
Use #172127 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.