# #172f87

A color — cool, vivid, technical, modern. Deterministic analysis from BrandSweets (no inference).

## Values

- Hex: `#172f87`
- RGB: rgb(23, 47, 135)
- HSL: hsl(227, 71%, 31%)
- OKLCH: oklch(0.351 0.15 266.4)
- Relative luminance: 0.0396
- Nearest named color: Deep Space Royal (#223382, Δ 1.881) — https://brandsweets.com/colors/deep-space-royal
- Moods: cool, vivid, technical, modern
- Page: https://brandsweets.com/colors/172f87

## Tints & shades

- Tints (toward white): #1c3aa6, #2143c0, #2950db, #4869e0, #6682e5, #8197ea, #9fb0ef, #bec9f4, #d8dff8, #f6f8fe
- Shades (toward black): #152b7a, #132871, #112364, #0f1e57, #0d1b4e, #0b1741, #091234, #070e27, #050b1f, #030611

## Harmonies

- Complementary: #876f17
- Analogous: #176787, #371787
- Triadic: #87172f, #2f8717
- Split-complementary: #873717, #678717
- Tetradic: #871767, #876f17, #178737

## Colors that go with #172f87

Named partners (harmony on the OKLCH wheel, co-occurrence in curated palettes and brand systems, and the neutrals that carry it), best first:

- **Charcoal** #36454f [role, pool] — Charcoal is the text near-black for #172f87: softer than #000 and cool enough to feel like part of the same palette. Seen in: dbt Labs (https://brandsweets.com/colors/brands/getdbt-com), Boeing (https://brandsweets.com/colors/brands/boeing-com), CeraVe (https://brandsweets.com/colors/brands/cerave-com), Tumblr (https://brandsweets.com/colors/brands/tumblr-com). — https://brandsweets.com/colors/charcoal
- **Steel Blue** #4682b4 [harmony, pool: analogous] — Steel Blue is #172f87's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: Hershey's (https://brandsweets.com/colors/brands/hersheys-com), Glacier (https://brandsweets.com/palettes/cool#glacier), Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Plaid (https://brandsweets.com/colors/brands/plaid-com). — https://brandsweets.com/colors/steelblue
- **Blue** #0000ff [pool] — 5 real palettes, including Procter & Gamble's brand system and Alaska Airlines's brand system put Blue beside #172f87, as the supporting colour. Seen in: Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), Alaska Airlines (https://brandsweets.com/colors/brands/alaskaair-com), CVS (https://brandsweets.com/colors/brands/cvs-com), Tesco (https://brandsweets.com/colors/brands/tesco-com). — https://brandsweets.com/colors/blue
- **Crimson** #dc143c [pool] — Crimson is paired with #172f87 in 8 real palettes, including Casper Sleep's brand system and Nintendo's brand system, as the lead colour. Seen in: Casper Sleep (https://brandsweets.com/colors/brands/casper-com), Nintendo (https://brandsweets.com/colors/brands/nintendo-com), Pepsi (https://brandsweets.com/colors/brands/pepsi-com), Marvel (https://brandsweets.com/colors/brands/marvel-com). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #172f87: 10 real palettes, including Hasbro's brand system and Bank of America's brand system, as the supporting colour. Seen in: Hasbro (https://brandsweets.com/colors/brands/hasbro-com), Bank of America (https://brandsweets.com/colors/brands/bankofamerica-com), Panasonic (https://brandsweets.com/colors/brands/panasonic-com), Warbyparker (https://brandsweets.com/colors/brands/warbyparker-com). — https://brandsweets.com/colors/denim
- **Orange Red** #ff4500 [pool] — Orange Red is paired with #172f87 in 4 real palettes, including Tide's brand system and NASA's brand system, as the accent. Seen in: Tide (https://brandsweets.com/colors/brands/tide-com), NASA (https://brandsweets.com/colors/brands/nasa-gov), Tumblr (https://brandsweets.com/colors/brands/tumblr-com), Intercom (https://brandsweets.com/colors/brands/intercom-com). — https://brandsweets.com/colors/orangered
- **Royal Blue** #4169e1 [pool] — Royal Blue is paired with #172f87 in 9 real palettes, including Discord's brand system and Nivea's brand system, as the lead colour. Seen in: Discord (https://brandsweets.com/colors/brands/discord), Nivea (https://brandsweets.com/colors/brands/nivea-com), Nokia (https://brandsweets.com/colors/brands/nokia-com), Confluent (https://brandsweets.com/colors/brands/confluent-io). — https://brandsweets.com/colors/royalblue
- **Olive Green** #808000 [harmony: complementary] — Olive Green sits directly opposite #172f87 on the wheel — the strongest contrast one hue can give another, so use it small: a button, a link colour, one highlight. — https://brandsweets.com/colors/olive

## Contrast (WCAG 2.x, as text)

- On white (#ffffff): 11.71:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.79:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #4c6ce1 (4.54:1); AA: background → #a1a1a1 (4.53:1); AAA: text → #7c94e9 (7.27:1); AAA: background → #c9c9c9 (7.07:1)

## Fonts for this mood

- technical: https://brandsweets.com/fonts/mood/technical
- modern: https://brandsweets.com/fonts/mood/modern

## Palette tool

Open this color locked as the lead with four explored companions: https://brandsweets.com/palettes/new/172f87-9ca0c4-df7a4e-221f2d-e9eff1?lock=0&style=vibrant
(Humans lock/regenerate in the tool; the URL is the state — read `lock=` back to see what they kept.)

## Connect an agent

Point any MCP client at the BrandSweets colors endpoint for the same engine:

- Endpoint: https://mcp.brandsweets.com/colors/mcp
- Tools: `analyze_color` (e.g. `analyze_color({ color: "#172f87" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
