#171D39
Closest named color: Oxford Blue (#1B263B). oklch(24.1% 0.054 272.6), rgb(23, 29, 57).
Aa
White text reads best on this color (16.51:1).
About this color
#171D39 is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.054 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.032 away. White text reads best on it, at 16.51:1.
| Hue family | Blues |
| Lightness | very dark (24%) |
| Chroma | muted (0.054) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.27:1 |
| White text | 16.51:1 |
Values
| HEX | #171D39 |
| RGB | rgb(23, 29, 57) |
| HSL | hsl(229, 43%, 16%) |
| OKLCH | oklch(24.1% 0.054 272.6) |
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 #171D39 | 16.51:1 | AAA | Lc -105.9 | Preferred for body text |
| Black text on #171D39 | 1.27:1 | Fails | Lc 0.0 | Not readable |
| #171D39 text on white | 16.51:1 | AAA | Lc 103.4 | Preferred for body text |
| #171D39 text on black | 1.27: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
#F3F5FB
oklch(97% 0.008 271.3)
-
Step 100
100
#E5E9F7
oklch(93.5% 0.019 273.2)
-
Step 200
200
#D1D8F1
oklch(88.5% 0.035 273.2)
-
Step 300
300
#B2BFEB
oklch(81% 0.064 272)
-
Step 400
400
#8B9CE1
oklch(70.7% 0.103 272.9)
-
Step 500
500
#6F82D8
oklch(63% 0.131 272.7)
-
Step 600
600
#586AC6
oklch(55.6% 0.143 272.6)
-
Step 700
700
#4958AB
oklch(49.1% 0.133 272.9)
-
Step 800
800
#3B488A
oklch(42.6% 0.11 272.5)
-
Step 900
900
#333D6F
oklch(37.7% 0.086 273.1)
-
Step 950
950 (this color)
#171D39
oklch(24.1% 0.054 272.6)
#171D39 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) | #12203A | 0.011 |
| Deuteranopia (no green cones) | #0E1D38 | 0.013 |
| Tritanopia (no blue cones) | #082328 | 0.048 |
| Achromatopsia (no color) | #1F1F1F | 0.054 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #171D39
#171D39
oklch(24.1% 0.054 272.6)
- #281E00
#281E00
oklch(24% 0.049 90.9)
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 #171D39, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.032
- Dark #1B2431 ΔE 0.033
- Rich Black #0D1B2A ΔE 0.034
- Jet #212529 ΔE 0.050
- Navy Blue #001146 ΔE 0.058
- Space Cadet #2B2D42 ΔE 0.066
- Dark Indigo #1F0954 ΔE 0.070
- Midnight Purple #280137 ΔE 0.077
Use #171D39 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.