Color

#0c2fac

#0c2fac
hex#0c2fac
rgbrgb(12, 47, 172)
hslhsl(227, 87%, 36%)
oklchoklch(0.386 0.2 264.8)
Closest name: Blue Hour (#0034ab)Relative luminance 0.0509

Tints & shades

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

Harmonies

Complementary

Open in tool →

#ac890c

#0c7eac · #390cac

#ac0c2f · #2fac0c

Split-complementary

Open in tool →

#ac390c · #7eac0c

#ac0c7e · #ac890c · #0cac39

Contrast

#0c2fac as textRatioAAAA largeAAAFix
Aaon white
10.41:1passpasspassPasses AAA — no fix needed.
Aaon black
2.02:1failfailfail
  • AA: use #456bf2 as the text (4.64:1)
  • AAA: use #7591f5 as the text (7.13:1)
  • AA: or shift the background to #ababab (4.53:1)
  • AAA: or shift the background to #d4d4d4 (7.02:1)

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

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

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

tool url/palettes/new/0c2fac-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