Color

#1f40ff

#1f40ff
hex#1f40ff
rgbrgb(31, 64, 255)
hslhsl(231, 100%, 56%)
oklchoklch(0.506 0.277 266.1)
Closest name: C64 Blue (#003aff)Relative luminance 0.1118

Tints & shades

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

Harmonies

Complementary

Open in tool →

#ffdd1f

#1fb0ff · #6d1fff

#ff1f40 · #40ff1f

Split-complementary

Open in tool →

#ff6d1f · #b0ff1f

#ff1fb0 · #ffdd1f · #1fff6d

Contrast

#1f40ff as textRatioAAAA largeAAAFix
Aaon white
6.49:1passpassfail
  • AAA: use #0f33ff as the text (7.15:1)
Aaon black
3.24:1failpassfail
  • AA: use #4d67ff as the text (4.7:1)
  • AAA: use #7a8eff as the text (7.14:1)
  • AA: or shift the background to #d9d9d9 (4.6:1)

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

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

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

tool url/palettes/new/1f40ff-9c9ec4-df834e-231f2d-e9eef1?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