Color

#40875b

#40875b
hex#40875b
rgbrgb(64, 135, 91)
hslhsl(143, 36%, 39%)
oklchoklch(0.565 0.1 154.4)
Closest name: seagreen (#2e8b57)Relative luminance 0.1917

Colors that go with #40875b

Charcoal, Royal Blue and Medium Violet Red 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 →

#87406c

#488740 · #40877f

#5b4087 · #875b40

Split-complementary

Open in tool →

#7f4087 · #874048

#404887 · #87406c · #877f40

Contrast

#40875b as textRatioAAAA largeAAAFix
Aaon white
4.34:1failpassfail
  • AA: use #3e8459 as the text (4.52:1)
  • AAA: use #2e6141 as the text (7.24:1)
  • AA: or shift the background to #0a0a0a (4.56:1)
Aaon black
4.83:1passpassfail
  • AAA: use #4ea670 as the text (7.01:1)

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

Brands using this color

mcpConnect your agent — build around #40875b
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 #40875b and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/40875b-a2beb0-c859d4-1f2d2b-eaf1e9?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