Color

#2d40ae

#2d40ae
hex#2d40ae
rgbrgb(45, 64, 174)
hslhsl(231, 59%, 43%)
oklchoklch(0.43 0.176 269.7)
Closest name: Denim (#2243b6)Relative luminance 0.0728

Tints & shades

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

Harmonies

Complementary

Open in tool →

#ae9b2d

#2d81ae · #5a2dae

#ae2d40 · #40ae2d

Split-complementary

Open in tool →

#ae5a2d · #81ae2d

#ae2d81 · #ae9b2d · #2dae5a

Contrast

#2d40ae as textRatioAAAA largeAAAFix
Aaon white
8.55:1passpasspassPasses AAA — no fix needed.
Aaon black
2.46:1failfailfail
  • AA: use #5d6fd5 as the text (4.7:1)
  • AAA: use #8593e0 as the text (7.25:1)
  • AA: or shift the background to #bdbdbd (4.55:1)
  • AAA: or shift the background to #ebebeb (7.17:1)

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

Brands using this color

No public brand in the corpus uses this exact color yet. Extract a brand to add one.

Palettes built around it

Fonts for this mood

#2d40ae reads as cool, modern. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/2d40ae-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