Color

#40a7fc

#40a7fc
hex#40a7fc
rgbrgb(64, 167, 252)
hslhsl(207, 97%, 62%)
oklchoklch(0.708 0.156 247.4)
Closest name: Cerulean (#55aaee)Relative luminance 0.3576

Tints & shades

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

Harmonies

Complementary

Open in tool →

#fc9540

#40fcf3 · #404afc

#fc40a7 · #a7fc40

Split-complementary

Open in tool →

#fc404a · #fcf340

#f340fc · #fc9540 · #4afc40

Contrast

#40a7fc as textRatioAAAA largeAAAFix
Aaon white
2.58:1failfailfail
  • AA: use #0375d3 as the text (4.68:1)
  • AAA: use #025aa1 as the text (7.05:1)
  • AA: or shift the background to #383838 (4.55:1)
  • AAA: or shift the background to #141414 (7.15:1)
Aaon black
8.15:1passpasspassPasses AAA — no fix needed.

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

Brands using this color

Palettes built around it

Fonts for this mood

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

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

tool url/palettes/new/40a7fc-9cadc4-df4e53-1f212d-e9f1f1?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