Color

#0340ce

#0340ce
hex#0340ce
rgbrgb(3, 64, 206)
hslhsl(222, 97%, 41%)
oklchoklch(0.449 0.224 263.1)
Closest name: Lapis on Neptune (#1f22d2)Relative luminance 0.0814

Colors that go with #0340ce

Charcoal, Crimson and Steel Blue 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 →

#ce9103

#03a5ce · #2c03ce

#ce0340 · #40ce03

Split-complementary

Open in tool →

#ce2c03 · #a5ce03

#ce03a5 · #ce9103 · #03ce2c

Contrast

#0340ce as textRatioAAAA largeAAAFix
Aaon white
7.99:1passpasspassPasses AAA — no fix needed.
Aaon black
2.63:1failfailfail
  • AA: use #2c6afc as the text (4.57:1)
  • AAA: use #6895fd as the text (7.31:1)
  • AA: or shift the background to #c4c4c4 (4.58:1)
  • AAA: or shift the background to #f0f0f0 (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 #0340ce as the background.

Brands using this color

Fonts for this mood

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

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

tool url/palettes/new/0340ce-9ca3c4-df6e4e-211f2d-e9eff1?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