Color

#152e8a

#152e8a
hex#152e8a
rgbrgb(21, 46, 138)
hslhsl(227, 74%, 31%)
oklchoklch(0.351 0.155 266.2)
Closest name: Deep Space Royal (#223382)Relative luminance 0.0395

Tints & shades

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

Harmonies

Complementary

Open in tool →

#8a7015

#15688a · #36158a

#8a152e · #2e8a15

Split-complementary

Open in tool →

#8a3615 · #688a15

#8a1568 · #8a7015 · #158a36

Contrast

#152e8a as textRatioAAAA largeAAAFix
Aaon white
11.73:1passpasspassPasses AAA — no fix needed.
Aaon black
1.79:1failfailfail
  • AA: use #496be4 as the text (4.51:1)
  • AAA: use #7a92eb as the text (7.14:1)
  • AA: or shift the background to #a1a1a1 (4.54:1)
  • AAA: or shift the background to #c9c9c9 (7.09:1)

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

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

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

tool url/palettes/new/152e8a-9ca0c4-df7a4e-221f2d-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