Color

#020cca

#020cca
hex#020cca
rgbrgb(2, 12, 202)
hslhsl(237, 98%, 40%)
oklchoklch(0.385 0.259 264.4)
Closest name: mediumblue (#0000cd)Relative luminance 0.0454

Tints & shades

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

Harmonies

Complementary

Open in tool →

#cac002

#0270ca · #5c02ca

#ca020c · #0cca02

Split-complementary

Open in tool →

#ca5c02 · #70ca02

#ca0270 · #cac002 · #02ca5c

Contrast

#020cca as textRatioAAAA largeAAAFix
Aaon white
11.01:1passpasspassPasses AAA — no fix needed.
Aaon black
1.91:1failfailfail
  • AA: use #5861fd as the text (4.54:1)
  • AAA: use #868cfe as the text (7.2:1)
  • AA: or shift the background to #a6a6a6 (4.52:1)
  • AAA: or shift the background to #cfcfcf (7.06:1)

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #020cca as the background.

Brands using this color

Fonts for this mood

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

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

tool url/palettes/new/020cca-9f9cc4-df924e-251f2d-e9edf1?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