Color

#304c8d

#304c8d
hex#304c8d
rgbrgb(48, 76, 141)
hslhsl(222, 49%, 37%)
oklchoklch(0.43 0.113 264.6)
Closest name: Assassin (#2d4f83)Relative luminance 0.0772

Tints & shades

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

Harmonies

Complementary

Open in tool →

#8d7130

#307a8d · #43308d

#8d304c · #4c8d30

Split-complementary

Open in tool →

#8d4330 · #7a8d30

#8d307a · #8d7130 · #308d43

Contrast

#304c8d as textRatioAAAA largeAAAFix
Aaon white
8.25:1passpasspassPasses AAA — no fix needed.
Aaon black
2.54:1failfailfail
  • AA: use #5073c3 as the text (4.58:1)
  • AAA: use #7e97d3 as the text (7.25:1)
  • AA: or shift the background to #c2c2c2 (4.63:1)
  • AAA: or shift the background to #ededed (7.05:1)

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

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

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

tool url/palettes/new/304c8d-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