Color

#335a8a

#335a8a
hex#335a8a
rgbrgb(51, 90, 138)
hslhsl(213, 46%, 37%)
oklchoklch(0.462 0.09 254.6)
Closest name: Assassin (#2d4f83)Relative luminance 0.0985

Tints & shades

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

Harmonies

Complementary

Open in tool →

#8a6333

#33858a · #37338a

#8a335a · #5a8a33

Split-complementary

Open in tool →

#8a3733 · #858a33

#8a3385 · #8a6333 · #338a37

Contrast

#335a8a as textRatioAAAA largeAAAFix
Aaon white
7.07:1passpasspassPasses AAA — no fix needed.
Aaon black
2.97:1failfailfail
  • AA: use #4377b6 as the text (4.55:1)
  • AAA: use #729acb as the text (7.2:1)
  • AA: or shift the background to #cfcfcf (4.54:1)
  • AAA: or shift the background to #ffffff (7.07:1)

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

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

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

tool url/palettes/new/335a8a-9ca9c4-df584e-1f202d-e9f0f1?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