Color
#31039b
#31039brgb(49, 3, 155)hsl(258, 96%, 31%)oklch(0.34 0.203 280.2)Colors that go with #31039b
Blue, Cobalt Blue and Olive Green 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.
Blue #0000ff
shipped4 real palettes, including Pepsi's brand system and Procter & Gamble's brand system put Blue beside #31039b, as the supporting colour.
Cobalt Blue #0047ab
shippedDesigners have shipped Cobalt Blue with #31039b: 4 real palettes, including Tide's brand system and Purina Pro Plan's brand system, as the lead colour.
Olive Green #808000
complementaryOlive Green sits directly opposite #31039b on the wheel — the strongest contrast one hue can give another, so use it small: a button, a link colour, one highlight.
Charcoal #36454f
neutralshippedCharcoal is the text near-black for #31039b: softer than #000 and cool enough to feel like part of the same palette.
Crimson #dc143c
shippedCrimson is paired with #31039b in 3 real palettes, including Casper Sleep's brand system and Nintendo's brand system, as the lead colour.
Denim #1560bd
analogousshippedDenim is #31039b's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces.
Royal Blue #4169e1
shippedRoyal Blue is paired with #31039b in 3 real palettes, including Discord's brand system and Nivea's brand system, as the lead colour.
Steel Blue #4682b4
shippedDesigners have shipped Steel Blue with #31039b: 3 real palettes, including Hershey's's brand system and Fintech Trust, as the accent.
Real palettes that use #31039b
Tints & shades
Harmonies
Contrast
| #31039b as text | Ratio | AA | AA large | AAA | Fix |
|---|---|---|---|---|---|
Aaon white | 12.99:1 | pass | pass | pass | Passes AAA — no fix needed. |
Aaon black | 1.62:1 | fail | fail | fail |
Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #31039b as the background.
Brands using this color
No public brand in the corpus uses this exact color yet. Extract a brand to add one.
Fonts for this mood
#31039b reads as cool, vivid, technical. The font library is tagged with the same vocabulary:
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.
https://mcp.brandsweets.com/colors/mcpclaude mcp add --transport http brandsweets-colors https://mcp.brandsweets.com/colors/mcp
›analyze #31039b and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link
/palettes/new/31039b-ad9cc4-dfc44e-291f2d-e9ebf1?lock=0&style=vibrantWant the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.
Machine-readable: color.md