Color

#302ca5

#302ca5
hex#302ca5
rgbrgb(48, 44, 165)
hslhsl(242, 58%, 41%)
oklchoklch(0.389 0.186 274.9)
Closest name: Depths of Night (#2c319b)Relative luminance 0.0515

Tints & shades

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

Harmonies

Complementary

Open in tool →

#a1a52c

#2c65a5 · #6d2ca5

#a5302c · #2ca530

Split-complementary

Open in tool →

#a56d2c · #65a52c

#a52c65 · #a1a52c · #2ca56d

Contrast

#302ca5 as textRatioAAAA largeAAAFix
Aaon white
10.35:1passpasspassPasses AAA — no fix needed.
Aaon black
2.03:1failfailfail
  • AA: use #6e6ad7 as the text (4.71:1)
  • AAA: use #918ee1 as the text (7.16:1)
  • AA: or shift the background to #ababab (4.51:1)
  • AAA: or shift the background to #d6d6d6 (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 #302ca5 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

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

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

tool url/palettes/new/302ca5-a29cc4-df9e4e-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