Color

#40089b

#40089b
hex#40089b
rgbrgb(64, 8, 155)
hslhsl(263, 90%, 32%)
oklchoklch(0.357 0.199 287.6)
Closest name: Galactic Civilization (#442288)Relative luminance 0.0363

Colors that go with #40089b

Royal Blue, Cobalt Blue and Crimson 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 →

#639b08

#08199b · #8a089b

#9b4008 · #089b40

Split-complementary

Open in tool →

#9b8a08 · #199b08

#9b0819 · #639b08 · #089b8a

Contrast

#40089b as textRatioAAAA largeAAAFix
Aaon white
12.17:1passpasspassPasses AAA — no fix needed.
Aaon black
1.73:1failfailfail
  • AA: use #9051f6 as the text (4.69:1)
  • AAA: use #af81f8 as the text (7.32:1)
  • AA: or shift the background to #9e9e9e (4.54:1)
  • AAA: or shift the background to #c7c7c7 (7.2:1)

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

Brands using this color

Fonts for this mood

#40089b reads as cool, vivid, technical. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/40089b-b09cc4-dfd04e-2b1f2d-e9eaf1?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