# #40798c

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

## Values

- Hex: `#40798c`
- RGB: rgb(64, 121, 140)
- HSL: hsl(195, 37%, 40%)
- OKLCH: oklch(0.545 0.067 221.9)
- Relative luminance: 0.1666
- Nearest named color: Harbour Blue (#417491, Δ 1.915) — https://brandsweets.com/colors/harbour-blue
- Moods: cool, modern
- Page: https://brandsweets.com/colors/40798c

## Tints & shades

- Tints (toward white): #4a8ba1, #579bb2, #69a6ba, #7eb2c4, #93bfcd, #a8cbd7, #bdd8e0, #cee2e9, #e3eef2, #f8fbfc
- Shades (toward black): #3a6d7e, #356473, #2f5865, #2a4f5b, #23424d, #1d363f, #182d34, #122126, #0d181c, #060c0e

## Harmonies

- Complementary: #8c5340
- Analogous: #408c79, #40538c
- Triadic: #8c4079, #798c40
- Split-complementary: #8c4053, #8c7940
- Tetradic: #79408c, #8c5340, #538c40

## Colors that go with #40798c

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 #40798c: softer than #000 and cool enough to feel like part of the same palette. Seen in: Campus (https://brandsweets.com/palettes/friendly#campus), Gusto (https://brandsweets.com/colors/brands/gusto-com), Beach Hut (https://brandsweets.com/palettes/light#beach-hut), Auth0 (https://brandsweets.com/colors/brands/auth0-com). — https://brandsweets.com/colors/charcoal
- **Sienna** #a0522d [harmony, pool: complementary] — Sienna sits directly opposite #40798c on the wheel — the strongest contrast one hue can give another, so use it small: a button, a link colour, one highlight. Seen in: BrandSweets (https://brandsweets.com/colors/brands/brandsweets). — https://brandsweets.com/colors/sienna
- **Amber** #ffbf00 [pool] — Amber is paired with #40798c in 5 real palettes, including Beach Hut and Lemon Squeezy's brand system, as the supporting colour. Seen in: Beach Hut (https://brandsweets.com/palettes/light#beach-hut), Lemon Squeezy (https://brandsweets.com/colors/brands/lemonsqueezy-com), Wired (https://brandsweets.com/colors/brands/wired-com), McDonald's (https://brandsweets.com/colors/brands/mcdonalds-com). — https://brandsweets.com/colors/amber
- **Champagne** #f7e7ce [pool] — 5 real palettes, including Forest Floor and Darkroom put Champagne beside #40798c, as that palette's text colour. Seen in: Forest Floor (https://brandsweets.com/palettes/dark#forest-floor), Darkroom (https://brandsweets.com/palettes/muted#darkroom), BrandSweets (https://brandsweets.com/colors/brands/brandsweets), Midnight Luxe (https://brandsweets.com/palettes/luxury#midnight-luxe). — https://brandsweets.com/colors/champagne
- **Cobalt Blue** #0047ab [pool] — Designers have shipped Cobalt Blue with #40798c: 6 real palettes, including Fintech Trust and Ink & Paper, as the lead colour. Seen in: Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Ink & Paper (https://brandsweets.com/palettes/minimal#ink-and-paper), Glacier (https://brandsweets.com/palettes/cool#glacier), Hershey's (https://brandsweets.com/colors/brands/hersheys-com). — https://brandsweets.com/colors/cobalt
- **Copper** #b87333 [pool] — Designers have shipped Copper with #40798c: 7 real palettes, including Riverbed and Dusk, as the accent. Seen in: Riverbed (https://brandsweets.com/palettes/muted#riverbed), Dusk (https://brandsweets.com/palettes/cool#dusk), Wellness (https://brandsweets.com/palettes/warm#wellness), Desert Road (https://brandsweets.com/palettes/warm#desert-road). — https://brandsweets.com/colors/copper
- **Crimson** #dc143c [pool] — Crimson is paired with #40798c in 15 real palettes, including Retro Pop and Redfin's brand system, as the lead colour. Seen in: Retro Pop (https://brandsweets.com/palettes/playful#retro-pop), Redfin (https://brandsweets.com/colors/brands/redfin-com), Wendy's (https://brandsweets.com/colors/brands/wendys-com), Gemstone (https://brandsweets.com/palettes/vivid#gemstone). — https://brandsweets.com/colors/crimson
- **Deep Sky Blue** #00bfff [pool] — Designers have shipped Deep Sky Blue with #40798c: 5 real palettes, including Deep Water and Venmo's brand system, as the lead colour. Seen in: Deep Water (https://brandsweets.com/palettes/dark#deep-water), Venmo (https://brandsweets.com/colors/brands/venmo-com), Astro (https://brandsweets.com/colors/brands/astro-build), Telegram (https://brandsweets.com/colors/brands/telegram-org). — https://brandsweets.com/colors/deepskyblue

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

- On white (#ffffff): 4.85:1 — AA pass, AA-large pass, AAA fail. Fix: AAA: text → #325e6c (7.11:1)
- On black (#000000): 4.33:1 — AA fail, AA-large pass, AAA fail. Fix: AA: text → #427c8f (4.51:1); AA: background → #f7f7f7 (4.53:1); AAA: text → #5e9fb5 (7.1:1)

## Fonts for this mood

- 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/40798c-9cb5c4-df4e70-1f242d-e9f1ef?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: "#40798c" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
