#171E47
Closest named color: Oxford Blue (#1B263B). oklch(25.5% 0.077 272.5), rgb(23, 30, 71).
Aa
White text reads best on this color (15.99:1).
About this color
#171E47 is a dark, moderately saturated blue. In OKLCH its lightness is 25%, its chroma 0.077 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.038 away. White text reads best on it, at 15.99:1.
| Hue family | Blues |
| Lightness | dark (25%) |
| Chroma | moderately saturated (0.077) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.31:1 |
| White text | 15.99:1 |
Values
| HEX | #171E47 |
| RGB | rgb(23, 30, 71) |
| HSL | hsl(231, 51%, 18%) |
| OKLCH | oklch(25.5% 0.077 272.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 #171E47 | 15.99:1 | AAA | Lc -105.4 | Preferred for body text |
| Black text on #171E47 | 1.31:1 | Fails | Lc 0.0 | Not readable |
| #171E47 text on white | 15.99:1 | AAA | Lc 102.8 | Preferred for body text |
| #171E47 text on black | 1.31: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
#F2F5FE
oklch(97% 0.012 271.3)
-
Step 100
100
#E4E9FC
oklch(93.6% 0.026 274.1)
-
Step 200
200
#CDD8FB
oklch(88.5% 0.05 271.6)
-
Step 300
300
#ACBDFC
oklch(80.8% 0.091 272.6)
-
Step 400
400
#8299FB
oklch(70.8% 0.146 272.2)
-
Step 500
500
#667BF8
oklch(63% 0.186 272.7)
-
Step 600
600
#5061E7
oklch(55.7% 0.202 272.5)
-
Step 700
700
#414FC9
oklch(49.2% 0.188 272.4)
-
Step 800
800
#3541A2
oklch(42.6% 0.156 272.6)
-
Step 900
900
#2D3981
oklch(37.8% 0.121 272.2)
-
Step 950
950 (this color)
#171E47
oklch(25.5% 0.077 272.5)
#171E47 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) | #072448 | 0.023 |
| Deuteranopia (no green cones) | #002046 | 0.026 |
| Tritanopia (no blue cones) | #00272F | 0.065 |
| Achromatopsia (no color) | #222222 | 0.077 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #171E47
#171E47
oklch(25.5% 0.077 272.5)
- #2C2200
#2C2200
oklch(25.6% 0.052 92.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 #171E47, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.038
- Dark #1B2431 ΔE 0.050
- Dark Indigo #1F0954 ΔE 0.053
- Navy Blue #001146 ΔE 0.053
- Rich Black #0D1B2A ΔE 0.059
- Marine #042E60 ΔE 0.062
- Space Cadet #2B2D42 ΔE 0.064
- Jet #212529 ΔE 0.069
Use #171E47 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.