#172A42
Closest named color: Oxford Blue (#1B263B). oklch(28.2% 0.051 254.9), rgb(23, 42, 66).
Aa
White text reads best on this color (14.51:1).
About this color
#172A42 is a dark, muted blue. In OKLCH its lightness is 28%, its chroma 0.051 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.016 away. White text reads best on it, at 14.51:1.
| Hue family | Blues |
| Lightness | dark (28%) |
| Chroma | muted (0.051) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.44:1 |
| White text | 14.51:1 |
Values
| HEX | #172A42 |
| RGB | rgb(23, 42, 66) |
| HSL | hsl(213, 48%, 17%) |
| OKLCH | oklch(28.2% 0.051 254.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 #172A42 | 14.51:1 | AAA | Lc -104.1 | Preferred for body text |
| Black text on #172A42 | 1.44:1 | Fails | Lc 0.0 | Not readable |
| #172A42 text on white | 14.51:1 | AAA | Lc 101.2 | Preferred for body text |
| #172A42 text on black | 1.44: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
#F2F6FB
oklch(97.2% 0.008 253.9)
-
Step 100
100
#E2EBF6
oklch(93.7% 0.018 253.3)
-
Step 200
200
#CBDBF0
oklch(88.6% 0.034 255.2)
-
Step 300
300
#A7C3E8
oklch(80.9% 0.061 255.5)
-
Step 400
400
#77A3DC
oklch(70.6% 0.097 255.2)
-
Step 500
500
#538BD3
oklch(63.1% 0.124 255.4)
-
Step 600
600
#3674C0
oklch(55.6% 0.135 255)
-
Step 700
700
#2861A6
oklch(49.1% 0.126 255.1)
-
Step 800
800
#234F86
oklch(42.6% 0.104 255.4)
-
Step 900
900
#21426B
oklch(37.6% 0.081 254.9)
-
Step 950
950 (this color)
#172A42
oklch(28.2% 0.051 254.9)
#172A42 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) | #202B43 | 0.013 |
| Deuteranopia (no green cones) | #1B2742 | 0.011 |
| Tritanopia (no blue cones) | #002F33 | 0.043 |
| Achromatopsia (no color) | #292929 | 0.051 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #172A42
#172A42
oklch(28.2% 0.051 254.9)
- #382508
#382508
oklch(28.2% 0.051 74.1)
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 #172A42, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.016
- Space Cadet #2B2D42 ΔE 0.033
- Dark #1B2431 ΔE 0.033
- Gunmetal #293241 ΔE 0.040
- Jet #212529 ΔE 0.046
- Prussian Blue #1D3557 ΔE 0.049
- Marine #042E60 ΔE 0.054
- Midnight Green #073B4C ΔE 0.055
Use #172A42 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.