Color

#052f8a

#052f8a
hex#052f8a
rgbrgb(5, 47, 138)
hslhsl(221, 93%, 28%)
oklchoklch(0.349 0.157 262.6)
Closest name: Below the Surface (#0a2f7c)Relative luminance 0.039

Tints & shades

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

Harmonies

Complementary

Open in tool →

#8a6005

#05718a · #1d058a

#8a052f · #2f8a05

Split-complementary

Open in tool →

#8a1d05 · #718a05

#8a0571 · #8a6005 · #058a1d

Contrast

#052f8a as textRatioAAAA largeAAAFix
Aaon white
11.8:1passpasspassPasses AAA — no fix needed.
Aaon black
1.78:1failfailfail
  • AA: use #2b6cf7 as the text (4.59:1)
  • AAA: use #6695f9 as the text (7.23:1)
  • AA: or shift the background to #a1a1a1 (4.57:1)
  • AAA: or shift the background to #c9c9c9 (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 #052f8a as the background.

Brands using this color

Fonts for this mood

#052f8a reads as cool, vivid, dark. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/052f8a-9ca4c4-df6b4e-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