Color

#40402b

#40402b
hex#40402b
rgbrgb(64, 64, 43)
hslhsl(60, 20%, 21%)
oklchoklch(0.365 0.034 108)
Closest name: Avocado Stone (#4e3e1f)Relative luminance 0.0493

Tints & shades

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

Harmonies

Complementary

Open in tool →

#2b2b40

#40362b · #36402b

#2b4040 · #402b40

Split-complementary

Open in tool →

#2b3640 · #362b40

#2b4036 · #2b2b40 · #402b36

Contrast

#40402b as textRatioAAAA largeAAAFix
Aaon white
10.57:1passpasspassPasses AAA — no fix needed.
Aaon black
1.99:1failfailfail
  • AA: use #777750 as the text (4.54:1)
  • AAA: use #999966 as the text (7.1:1)
  • AA: or shift the background to #ababab (4.6:1)
  • AAA: or shift the background to #d4d4d4 (7.13:1)

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

#40402b reads as muted, dark, luxury. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/40402b-bbbea2-4e94df-272d1f-f1ede9?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