Color

#40342b

#40342b
hex#40342b
rgbrgb(64, 52, 43)
hslhsl(26, 20%, 21%)
oklchoklch(0.335 0.023 58.7)
Closest name: Graphite (#383428)Relative luminance 0.0372

Tints & shades

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

Harmonies

Complementary

Open in tool →

#2b3740

#402b2c · #403f2b

#2b4034 · #342b40

Split-complementary

Open in tool →

#2b403f · #2b2c40

#2c402b · #2b3740 · #3f2b40

Contrast

#40342b as textRatioAAAA largeAAAFix
Aaon white
12.04:1passpasspassPasses AAA — no fix needed.
Aaon black
1.74:1failfailfail
  • AA: use #8a705c as the text (4.55:1)
  • AAA: use #a9917e as the text (7.04:1)
  • AA: or shift the background to #a1a1a1 (4.66:1)
  • AAA: or shift the background to #c7c7c7 (7.12:1)

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

Brands using this color

Fonts for this mood

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

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

tool url/palettes/new/40342b-c4b29c-62cbc5-2d2b1f-f1e9ea?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