#170E39
Closest named color: Navy Blue (#001146). oklch(20.7% 0.079 286.9), rgb(23, 14, 57).
Aa
White text reads best on this color (18.12:1).
About this color
#170E39 is a very dark, moderately saturated purple. In OKLCH its lightness is 21%, its chroma 0.079 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.044 away. White text reads best on it, at 18.12:1.
| Hue family | Purples |
| Lightness | very dark (21%) |
| Chroma | moderately saturated (0.079) |
| Temperature | cool |
| Nearest name | Navy Blue (#001146) |
| Black text | 1.15:1 |
| White text | 18.12:1 |
Values
| HEX | #170E39 |
| RGB | rgb(23, 14, 57) |
| HSL | hsl(253, 61%, 14%) |
| OKLCH | oklch(20.7% 0.079 286.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 #170E39 | 18.12:1 | AAA | Lc -106.8 | Preferred for body text |
| Black text on #170E39 | 1.15:1 | Fails | Lc 0.0 | Not readable |
| #170E39 text on white | 18.12:1 | AAA | Lc 104.6 | Preferred for body text |
| #170E39 text on black | 1.15: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
#F5F4FE
oklch(97.1% 0.013 290.8)
-
Step 100
100
#E8E8FC
oklch(93.7% 0.027 285.9)
-
Step 200
200
#D6D5FB
oklch(88.6% 0.052 286.5)
-
Step 300
300
#BCB8FB
oklch(81% 0.094 286.8)
-
Step 400
400
#9B90F8
oklch(70.7% 0.149 286.8)
-
Step 500
500
#8570F5
oklch(63.1% 0.191 286.8)
-
Step 600
600
#7154E4
oklch(55.7% 0.208 286.8)
-
Step 700
700
#5F43C6
oklch(49.2% 0.193 286.8)
-
Step 800
800
#4D38A0
oklch(42.7% 0.16 286.8)
-
Step 900
900
#40327F
oklch(37.7% 0.125 287.2)
-
Step 950
950 (this color)
#170E39
oklch(20.7% 0.079 286.9)
#170E39 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) | #00173A | 0.040 |
| Deuteranopia (no green cones) | #001538 | 0.039 |
| Tritanopia (no blue cones) | #0A1921 | 0.067 |
| Achromatopsia (no color) | #161616 | 0.079 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #170E39
#170E39
oklch(20.7% 0.079 286.9)
- #1A1900
#1A1900
oklch(20.8% 0.045 107.7)
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 #170E39, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Navy Blue #001146 ΔE 0.044
- Midnight Purple #280137 ΔE 0.047
- Very Dark Purple #2A0134 ΔE 0.052
- Dark Indigo #1F0954 ΔE 0.053
- Night Blue #040348 ΔE 0.054
- Rich Black #0D1B2A ΔE 0.055
- Dark Navy #000435 ΔE 0.061
- Midnight #03012D ΔE 0.070
Use #170E39 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.