Color

#2040cf

#2040cf
hex#2040cf
rgbrgb(32, 64, 207)
hslhsl(229, 73%, 47%)
oklchoklch(0.456 0.221 266.5)
Closest name: Denim (#2243b6)Relative luminance 0.0848

Tints & shades

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

Harmonies

Complementary

Open in tool →

#cfaf20

#2098cf · #5820cf

#cf2040 · #40cf20

Split-complementary

Open in tool →

#cf5820 · #98cf20

#cf2098 · #cfaf20 · #20cf58

Contrast

#2040cf as textRatioAAAA largeAAAFix
Aaon white
7.79:1passpasspassPasses AAA — no fix needed.
Aaon black
2.7:1failfailfail
  • AA: use #4f6ae3 as the text (4.5:1)
  • AAA: use #7f93eb as the text (7.28:1)
  • AA: or shift the background to #c7c7c7 (4.61:1)
  • AAA: or shift the background to #f5f5f5 (7.15:1)

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

Brands using this color

Fonts for this mood

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

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

tool url/palettes/new/2040cf-9c9fc4-df7e4e-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