#172E57
Closest named color: Marine (#042E60). oklch(30.7% 0.08 261), rgb(23, 46, 87).
Aa
White text reads best on this color (13.41:1).
About this color
#172E57 is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.080 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.021 away. White text reads best on it, at 13.41:1.
| Hue family | Blues |
| Lightness | dark (31%) |
| Chroma | moderately saturated (0.080) |
| Temperature | cool |
| Nearest name | Marine (#042E60) |
| Black text | 1.56:1 |
| White text | 13.41:1 |
Values
| HEX | #172E57 |
| RGB | rgb(23, 46, 87) |
| HSL | hsl(218, 58%, 22%) |
| OKLCH | oklch(30.7% 0.08 261) |
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 #172E57 | 13.41:1 | AAA | Lc -102.8 | Preferred for body text |
| Black text on #172E57 | 1.56:1 | Fails | Lc 0.0 | Not readable |
| #172E57 text on white | 13.41:1 | AAA | Lc 99.7 | Preferred for body text |
| #172E57 text on black | 1.56: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
#F1F6FE
oklch(97.2% 0.012 259.8)
-
Step 100
100
#E0EBFD
oklch(93.7% 0.027 260.3)
-
Step 200
200
#C6DAFD
oklch(88.5% 0.053 261.7)
-
Step 300
300
#9EC2FE
oklch(81% 0.094 260.4)
-
Step 400
400
#699FFE
oklch(70.7% 0.151 261)
-
Step 500
500
#4083FC
oklch(63.1% 0.193 261.1)
-
Step 600
600
#1F69EB
oklch(55.6% 0.209 261)
-
Step 700
700
#1256CC
oklch(49% 0.194 261.1)
-
Step 800
800
#1247A5
oklch(42.6% 0.161 261.1)
-
Step 900
900
#163D83
oklch(37.7% 0.126 261)
-
Step 950
950 (this color)
#172E57
oklch(30.7% 0.08 261)
#172E57 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) | #1A3259 | 0.014 |
| Deuteranopia (no green cones) | #0F2C56 | 0.011 |
| Tritanopia (no blue cones) | #00373E | 0.063 |
| Achromatopsia (no color) | #2F2F2F | 0.080 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #172E57
#172E57
oklch(30.7% 0.08 261)
- #402B00
#402B00
oklch(30.6% 0.063 79.8)
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 #172E57, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine #042E60 ΔE 0.021
- Prussian Blue #1D3557 ΔE 0.025
- Marine Blue #01386A ΔE 0.042
- Space Cadet #2B2D42 ΔE 0.045
- Gunmetal #293241 ΔE 0.051
- Midnight Green #073B4C ΔE 0.051
- Dark Blue Grey #1F3B4D ΔE 0.052
- Oxford Blue #1B263B ΔE 0.053
Use #172E57 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.