Color

#342ca0

#342ca0
hex#342ca0
rgbrgb(52, 44, 160)
hslhsl(244, 57%, 40%)
oklchoklch(0.387 0.179 277.1)
Closest name: Depths of Night (#2c319b)Relative luminance 0.0507

Tints & shades

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

Harmonies

Complementary

Open in tool →

#98a02c

#2c5ea0 · #6e2ca0

#a0342c · #2ca034

Split-complementary

Open in tool →

#a06e2c · #5ea02c

#a02c5e · #98a02c · #2ca06e

Contrast

#342ca0 as textRatioAAAA largeAAAFix
Aaon white
10.43:1passpasspassPasses AAA — no fix needed.
Aaon black
2.01:1failfailfail
  • AA: use #6e67d5 as the text (4.56:1)
  • AAA: use #948fe0 as the text (7.26:1)
  • AA: or shift the background to #ababab (4.54:1)
  • AAA: or shift the background to #d4d4d4 (7.03:1)

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

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

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

tool url/palettes/new/342ca0-a39cc4-dfa24e-261f2d-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