Color

#40404f

#40404f
hex#40404f
rgbrgb(64, 64, 79)
hslhsl(240, 10%, 28%)
oklchoklch(0.377 0.025 285.1)
Closest name: Arsenic (#3b444b)Relative luminance 0.0532

Tints & shades

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

Harmonies

Complementary

Open in tool →

#4f4f40

#40474f · #47404f

#4f4040 · #404f40

Split-complementary

Open in tool →

#4f4740 · #474f40

#4f4047 · #4f4f40 · #404f47

Contrast

#40404f as textRatioAAAA largeAAAFix
Aaon white
10.17:1passpasspassPasses AAA — no fix needed.
Aaon black
2.06:1failfailfail
  • AA: use #73738c as the text (4.56:1)
  • AAA: use #9494a8 as the text (7.06:1)
  • AA: or shift the background to #adadad (4.53:1)
  • AAA: or shift the background to #d9d9d9 (7.21:1)

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

#40404f reads as cool, muted, dark. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/40404f-a19cc4-df994e-251f2d-e9edf1?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