#0D173F
Closest named color: Navy Blue (#001146). oklch(22.4% 0.078 268.7), rgb(13, 23, 63).
Aa
White text reads best on this color (17.33:1).
About this color
#0D173F is a very dark, moderately saturated blue. In OKLCH its lightness is 22%, its chroma 0.078 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.030 away. White text reads best on it, at 17.33:1.
| Hue family | Blues |
| Lightness | very dark (22%) |
| Chroma | moderately saturated (0.078) |
| Temperature | cool |
| Nearest name | Navy Blue (#001146) |
| Black text | 1.21:1 |
| White text | 17.33:1 |
Values
| HEX | #0D173F |
| RGB | rgb(13, 23, 63) |
| HSL | hsl(228, 66%, 15%) |
| OKLCH | oklch(22.4% 0.078 268.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 #0D173F | 17.33:1 | AAA | Lc -106.3 | Preferred for body text |
| Black text on #0D173F | 1.21:1 | Fails | Lc 0.0 | Not readable |
| #0D173F text on white | 17.33:1 | AAA | Lc 104.0 | Preferred for body text |
| #0D173F text on black | 1.21: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
#E2EAFC
oklch(93.6% 0.026 266.6)
-
Step 200
200
#CBD9FC
oklch(88.6% 0.051 268.1)
-
Step 300
300
#A8BFFD
oklch(81% 0.092 268.6)
-
Step 400
400
#7B9BFC
oklch(70.8% 0.147 268.7)
-
Step 500
500
#5B7EF9
oklch(63.1% 0.187 268.6)
-
Step 600
600
#4463E8
oklch(55.5% 0.204 268.8)
-
Step 700
700
#3651CA
oklch(49% 0.19 268.7)
-
Step 800
800
#2D43A3
oklch(42.6% 0.157 268.9)
-
Step 900
900
#273A82
oklch(37.7% 0.123 268.7)
-
Step 950
950 (this color)
#0D173F
oklch(22.4% 0.078 268.7)
#0D173F 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) | #001D40 | 0.021 |
| Deuteranopia (no green cones) | #00183E | 0.016 |
| Tritanopia (no blue cones) | #002128 | 0.063 |
| Achromatopsia (no color) | #1A1A1A | 0.078 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0D173F
#0D173F
oklch(22.4% 0.078 268.7)
- #241A00
#241A00
oklch(22.4% 0.046 89.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 #0D173F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Navy Blue #001146 ΔE 0.030
- Rich Black #0D1B2A ΔE 0.045
- Night Blue #040348 ΔE 0.054
- Dark Indigo #1F0954 ΔE 0.055
- Oxford Blue #1B263B ΔE 0.058
- Dark #1B2431 ΔE 0.061
- Dark Navy #000435 ΔE 0.067
- Midnight Purple #280137 ΔE 0.074
Use #0D173F 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.