Color

#311fff

#311fff
hex#311fff
rgbrgb(49, 31, 255)
hslhsl(245, 100%, 56%)
oklchoklch(0.479 0.295 270)
Closest name: Blustering Blue (#4411ff)Relative luminance 0.0885

Tints & shades

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

Harmonies

Complementary

Open in tool →

#ecff1f

#1f7cff · #a11fff

#ff311f · #1fff31

Split-complementary

Open in tool →

#ffa21f · #7cff1f

#ff1f7c · #ecff1f · #1fffa2

Contrast

#311fff as textRatioAAAA largeAAAFix
Aaon white
7.58:1passpasspassPasses AAA — no fix needed.
Aaon black
2.77:1failfailfail
  • AA: use #695cff as the text (4.58:1)
  • AAA: use #938aff as the text (7.32:1)
  • AA: or shift the background to #c9c9c9 (4.58:1)
  • AAA: or shift the background to #f7f7f7 (7.08:1)

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

Brands using this color

Fonts for this mood

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

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

tool url/palettes/new/311fff-a49cc4-dfa54e-261f2d-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