Color

#172e4a

#172e4a
hex#172e4a
rgbrgb(23, 46, 74)
hslhsl(213, 53%, 19%)
oklchoklch(0.298 0.059 254.4)
Closest name: Midnight Ocean (#0f2d4d)Relative luminance 0.0263

Colors that go with #172e4a

Sea Green, Sienna and Slate Blue lead the list. Each partner is a real named colour with the reason it works — a wheel relationship, a neutral that carries it, or a pairing lifted from a palette or brand system that actually shipped — and every pair opens in the palette tool.

Tints & shades

Every swatch is its own page — click any to analyze it.

Harmonies

Complementary

Open in tool →

#4a3317

#17484a · #19174a

#4a172e · #2e4a17

Split-complementary

Open in tool →

#4a1917 · #484a17

#4a1748 · #4a3317 · #174a19

Contrast

#172e4a as textRatioAAAA largeAAAFix
Aaon white
13.76:1passpasspassPasses AAA — no fix needed.
Aaon black
1.53:1failfailfail
  • AA: use #3b76bf as the text (4.53:1)
  • AAA: use #6b99d1 as the text (7.1:1)
  • AA: or shift the background to #949494 (4.54:1)
  • AAA: or shift the background to #bababa (7.09:1)

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #172e4a as the background.

Brands using this color

Palettes built around it

Fonts for this mood

#172e4a reads as cool, dark, luxury. The font library is tagged with the same vocabulary:

mcpConnect your agent — build around #172e4a
live endpoint

Point any MCP client at the shared colors endpoint and your agent gets the same engine as this page — direct_palette, edit_direction, check_palette, check_contrast — read-only, no key. Every direction it proposes comes with a /colors/d/… link: open it, lock what you like, paste the link back, and the agent edits rather than re-rolls.

endpointhttps://mcp.brandsweets.com/colors/mcp
claude mcp add --transport http brandsweets-colors https://mcp.brandsweets.com/colors/mcp
try this prompt

analyze #172e4a and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/172e4a-9ca9c4-df584e-1f202d-e9f0f1?lock=0&style=vibrant

Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.

Machine-readable: color.md