Color

#1a2fa2

#1a2fa2
hex#1a2fa2
rgbrgb(26, 47, 162)
hslhsl(231, 72%, 37%)
oklchoklch(0.38 0.185 267.4)
Closest name: Blue Hour (#0034ab)Relative luminance 0.0486

Tints & shades

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

Harmonies

Complementary

Open in tool →

#a28e1a

#1a73a2 · #4a1aa2

#a21a2f · #2fa21a

Split-complementary

Open in tool →

#a24a1a · #73a21a

#a21a73 · #a28e1a · #1aa24a

Contrast

#1a2fa2 as textRatioAAAA largeAAAFix
Aaon white
10.65:1passpasspassPasses AAA — no fix needed.
Aaon black
1.97:1failfailfail
  • AA: use #5469e3 as the text (4.51:1)
  • AAA: use #8090ea as the text (7.1:1)
  • AA: or shift the background to #ababab (4.64:1)
  • AAA: or shift the background to #d4d4d4 (7.18:1)

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

#1a2fa2 reads as cool, vivid, technical. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/1a2fa2-9c9ec4-df834e-231f2d-e9eef1?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