Color

#402bf7

#402bf7
hex#402bf7
rgbrgb(64, 43, 247)
hslhsl(246, 93%, 57%)
oklchoklch(0.487 0.277 273.6)
Closest name: Blustering Blue (#4411ff)Relative luminance 0.0953

Tints & shades

Every swatch is its own page — click any to analyze it.

Harmonies

Complementary

Open in tool →

#e3f72b

#2b7df7 · #a62bf7

#f7402b · #2bf740

Split-complementary

Open in tool →

#f7a62b · #7df72b

#f72b7d · #e3f72b · #2bf7a6

Contrast

#402bf7 as textRatioAAAA largeAAAFix
Aaon white
7.22:1passpasspassPasses AAA — no fix needed.
Aaon black
2.91:1failfailfail
  • AA: use #6c5df9 as the text (4.57:1)
  • AAA: use #9489fb as the text (7.23:1)
  • AA: or shift the background to #cfcfcf (4.64:1)
  • AAA: or shift the background to #fcfcfc (7.04:1)

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #402bf7 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

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

mcpConnect your agent — build around #402bf7
live endpoint

Point any MCP client at the shared colors endpoint and your agent gets the same engine as this page — generate_palette, check_contrast, analyze_color — read-only, no key. Every palette it proposes comes with a /palettes/new/… link: open it, lock what you like, paste the link back.

endpointhttps://mcp.brandsweets.com/colors/mcp
claude mcp add --transport http brandsweets-colors https://mcp.brandsweets.com/colors/mcp
try this prompt

analyze #402bf7 and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/402bf7-a59cc4-dfa74e-271f2d-e9ecf1?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