#171F39
Closest named color: Oxford Blue (#1B263B). oklch(24.6% 0.051 269.5), rgb(23, 31, 57).
Aa
White text reads best on this color (16.26:1).
About this color
#171F39 is a very dark, muted blue. In OKLCH its lightness is 25%, its chroma 0.051 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.025 away. White text reads best on it, at 16.26:1.
| Hue family | Blues |
| Lightness | very dark (25%) |
| Chroma | muted (0.051) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.29:1 |
| White text | 16.26:1 |
Values
| HEX | #171F39 |
| RGB | rgb(23, 31, 57) |
| HSL | hsl(226, 43%, 16%) |
| OKLCH | oklch(24.6% 0.051 269.5) |
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 #171F39 | 16.26:1 | AAA | Lc -105.7 | Preferred for body text |
| Black text on #171F39 | 1.29:1 | Fails | Lc 0.0 | Not readable |
| #171F39 text on white | 16.26:1 | AAA | Lc 103.1 | Preferred for body text |
| #171F39 text on black | 1.29: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
#E5EAF6
oklch(93.7% 0.017 267.8)
-
Step 200
200
#D0D9F0
oklch(88.6% 0.033 268.7)
-
Step 300
300
#B1C0E9
oklch(81% 0.06 269.3)
-
Step 400
400
#889EDD
oklch(70.7% 0.096 269.1)
-
Step 500
500
#6C85D4
oklch(63.2% 0.123 269.4)
-
Step 600
600
#546DC1
oklch(55.6% 0.134 269.2)
-
Step 700
700
#455AA7
oklch(49% 0.125 269.8)
-
Step 800
800
#394A87
oklch(42.7% 0.103 269.9)
-
Step 900
900
#313E6C
oklch(37.6% 0.081 270.3)
-
Step 950
950 (this color)
#171F39
oklch(24.6% 0.051 269.5)
#171F39 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) | #15223A | 0.010 |
| Deuteranopia (no green cones) | #111F38 | 0.009 |
| Tritanopia (no blue cones) | #082529 | 0.046 |
| Achromatopsia (no color) | #202020 | 0.051 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #171F39
#171F39
oklch(24.6% 0.051 269.5)
- #2A1F00
#2A1F00
oklch(24.6% 0.05 89.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 #171F39, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.025
- Dark #1B2431 ΔE 0.027
- Rich Black #0D1B2A ΔE 0.035
- Jet #212529 ΔE 0.045
- Space Cadet #2B2D42 ΔE 0.061
- Navy Blue #001146 ΔE 0.063
- Gunmetal #293241 ΔE 0.073
- Dark Indigo #1F0954 ΔE 0.075
Use #171F39 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.