Color

#334d8a

#334d8a
hex#334d8a
rgbrgb(51, 77, 138)
hslhsl(222, 46%, 37%)
oklchoklch(0.432 0.106 264.9)
Closest name: Assassin (#2d4f83)Relative luminance 0.0785

Tints & shades

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

Harmonies

Complementary

Open in tool →

#8a7033

#33788a · #44338a

#8a334d · #4d8a33

Split-complementary

Open in tool →

#8a4433 · #788a33

#8a3378 · #8a7033 · #338a44

Contrast

#334d8a as textRatioAAAA largeAAAFix
Aaon white
8.17:1passpasspassPasses AAA — no fix needed.
Aaon black
2.57:1failfailfail
  • AA: use #5474c0 as the text (4.64:1)
  • AAA: use #7d95cf as the text (7.07:1)
  • AA: or shift the background to #c2c2c2 (4.59:1)
  • AAA: or shift the background to #f0f0f0 (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 #334d8a 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

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

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

tool url/palettes/new/334d8a-9ca3c4-df6e4e-211f2d-e9eff1?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