Color

#304bb5

#304bb5
hex#304bb5
rgbrgb(48, 75, 181)
hslhsl(228, 58%, 45%)
oklchoklch(0.458 0.171 268)
Closest name: Denim (#2243b6)Relative luminance 0.09

Tints & shades

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

Harmonies

Complementary

Open in tool →

#b59b30

#308db5 · #5830b5

#b5304b · #4bb530

Split-complementary

Open in tool →

#b55830 · #8db530

#b5308d · #b59b30 · #30b558

Contrast

#304bb5 as textRatioAAAA largeAAAFix
Aaon white
7.5:1passpasspassPasses AAA — no fix needed.
Aaon black
2.8:1failfailfail
  • AA: use #566fd2 as the text (4.6:1)
  • AAA: use #8294de as the text (7.24:1)
  • AA: or shift the background to #c9c9c9 (4.53:1)
  • AAA: or shift the background to #f7f7f7 (7:1)

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #304bb5 as the background.

Brands using this color

Fonts for this mood

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

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

tool url/palettes/new/304bb5-9c9fc4-df7c4e-231f2d-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