#173F6C
Closest named color: Twilight Blue (#0A437A). oklch(36.5% 0.09 253.7), rgb(23, 63, 108).
Aa
White text reads best on this color (10.69:1).
About this color
#173F6C is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.090 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.025 away. White text reads best on it, at 10.69:1.
| Hue family | Blues |
| Lightness | dark (36%) |
| Chroma | moderately saturated (0.090) |
| Temperature | cool |
| Nearest name | Twilight Blue (#0A437A) |
| Black text | 1.96:1 |
| White text | 10.69:1 |
Values
| HEX | #173F6C |
| RGB | rgb(23, 63, 108) |
| HSL | hsl(212, 65%, 26%) |
| OKLCH | oklch(36.5% 0.09 253.7) |
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 #173F6C | 10.69:1 | AAA | Lc -98.5 | Preferred for body text |
| Black text on #173F6C | 1.96:1 | Fails | Lc 9.4 | Not readable |
| #173F6C text on white | 10.69:1 | AAA | Lc 94.5 | Preferred for body text |
| #173F6C text on black | 1.96:1 | Fails | Lc -8.1 | 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
#F1F6FC
oklch(97.1% 0.01 252.8)
-
Step 100
100
#E1EBF7
oklch(93.6% 0.019 252.9)
-
Step 200
200
#C9DBF2
oklch(88.5% 0.037 254.6)
-
Step 300
300
#A3C4EC
oklch(81% 0.067 253.5)
-
Step 400
400
#70A4E2
oklch(70.7% 0.107 253.5)
-
Step 500
500
#488CDA
oklch(63.2% 0.137 253.5)
-
Step 600
600
#2774C8
oklch(55.6% 0.15 253.8)
-
Step 700
700
#1861AD
oklch(49.2% 0.139 253.6)
-
Step 800
800
#184F8C
oklch(42.6% 0.116 254.1)
-
Step 900
900 (this color)
#173F6C
oklch(36.5% 0.09 253.7)
-
Step 950
950
#112741
oklch(26.9% 0.056 253.9)
#173F6C 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) | #2A426E | 0.023 |
| Deuteranopia (no green cones) | #1C3A6B | 0.015 |
| Tritanopia (no blue cones) | #004A50 | 0.069 |
| Achromatopsia (no color) | #3E3E3E | 0.090 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #173F6C
#173F6C
oklch(36.5% 0.09 253.7)
- #563700
#563700
oklch(36.5% 0.077 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 #173F6C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Twilight Blue #0A437A ΔE 0.025
- Marine Blue #01386A ΔE 0.028
- Prussian Blue #1D3557 ΔE 0.043
- Dark Grey Blue #29465B ΔE 0.045
- Dark Blue Grey #1F3B4D ΔE 0.053
- Charcoal #264653 ΔE 0.056
- Marine #042E60 ΔE 0.059
- Midnight Green #073B4C ΔE 0.059
Use #173F6C 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.