Color

#40afe2

#40afe2
hex#40afe2
rgbrgb(64, 175, 226)
hslhsl(199, 74%, 57%)
oklchoklch(0.713 0.123 232.3)
Closest name: Cousteau (#55a9d6)Relative luminance 0.3724

Tints & shades

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

Harmonies

Complementary

Open in tool →

#e27440

#40e2c5 · #405ee2

#e240af · #afe240

Split-complementary

Open in tool →

#e2405e · #e2c540

#c540e2 · #e27440 · #5ee240

Contrast

#40afe2 as textRatioAAAA largeAAAFix
Aaon white
2.49:1failfailfail
  • AA: use #1a7ead as the text (4.53:1)
  • AAA: use #135e81 as the text (7.13:1)
  • AA: or shift the background to #3b3b3b (4.51:1)
  • AAA: or shift the background to #1a1a1a (7:1)
Aaon black
8.45: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 #40afe2 as the background.

Brands using this color

Fonts for this mood

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

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

tool url/palettes/new/40afe2-9cb3c4-df4e66-1f232d-e9f1f0?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