#172D76
Closest named color: Marine Blue (#01386A). oklch(33% 0.128 266.4), rgb(23, 45, 118).
Aa
White text reads best on this color (12.54:1).
About this color
#172D76 is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.128 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.040 away. White text reads best on it, at 12.54:1.
| Hue family | Blues |
| Lightness | dark (33%) |
| Chroma | moderately saturated (0.128) |
| Temperature | cool |
| Nearest name | Marine Blue (#01386A) |
| Black text | 1.67:1 |
| White text | 12.54:1 |
Values
| HEX | #172D76 |
| RGB | rgb(23, 45, 118) |
| HSL | hsl(226, 67%, 28%) |
| OKLCH | oklch(33% 0.128 266.4) |
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 #172D76 | 12.54:1 | AAA | Lc -101.4 | Preferred for body text |
| Black text on #172D76 | 1.67:1 | Fails | Lc 0.0 | Not readable |
| #172D76 text on white | 12.54:1 | AAA | Lc 98.0 | Preferred for body text |
| #172D76 text on black | 1.67: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 900.
-
Step 50
50
#F1F5FE
oklch(97% 0.013 266.7)
-
Step 100
100
#E1EAFD
oklch(93.6% 0.028 265.4)
-
Step 200
200
#C9D9FD
oklch(88.5% 0.053 266.4)
-
Step 300
300
#A4BFFF
oklch(80.8% 0.096 266.6)
-
Step 400
400
#759CFF
oklch(70.8% 0.151 266.4)
-
Step 500
500
#527FFE
oklch(63.2% 0.195 266.2)
-
Step 600
600
#3963EE
oklch(55.5% 0.214 266.4)
-
Step 700
700
#2D51CF
oklch(49.1% 0.199 266.5)
-
Step 800
800
#2543A7
oklch(42.6% 0.165 266.5)
-
Step 900
900 (this color)
#172D76
oklch(33% 0.128 266.4)
-
Step 950
950
#14234E
oklch(27.1% 0.082 266.5)
#172D76 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) | #003878 | 0.030 |
| Deuteranopia (no green cones) | #002F75 | 0.016 |
| Tritanopia (no blue cones) | #00404C | 0.102 |
| Achromatopsia (no color) | #333333 | 0.128 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #172D76
#172D76
oklch(33% 0.128 266.4)
- #453200
#453200
oklch(33% 0.068 85.3)
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 #172D76, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine Blue #01386A ΔE 0.040
- Marine #042E60 ΔE 0.042
- Midnight Blue #191970 ΔE 0.048
- Twilight Blue #0A437A ΔE 0.061
- Prussian Blue #1D3557 ΔE 0.062
- Royal #0C1793 ΔE 0.065
- Dark Blue #00008B ΔE 0.083
- Navy #000080 ΔE 0.084
Use #172D76 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.