Color

#02197e

#02197e
hex#02197e
rgbrgb(2, 25, 126)
hslhsl(229, 97%, 25%)
oklchoklch(0.295 0.167 264.4)
Closest name: navy (#000080)Relative luminance 0.0221

Tints & shades

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

Harmonies

Complementary

Open in tool →

#7e6702

#02567e · #29027e

#7e0219 · #197e02

Split-complementary

Open in tool →

#7e2902 · #567e02

#7e0256 · #7e6702 · #027e29

Contrast

#02197e as textRatioAAAA largeAAAFix
Aaon white
14.55:1passpasspassPasses AAA — no fix needed.
Aaon black
1.44:1failfailfail
  • AA: use #4567fc as the text (4.6:1)
  • AAA: use #7790fd as the text (7.19:1)
  • AA: or shift the background to #8f8f8f (4.5:1)
  • AAA: or shift the background to #b5b5b5 (7.1:1)

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

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

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

tool url/palettes/new/02197e-9c9fc4-df7e4e-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