Color

#040fd7

#040fd7
hex#040fd7
rgbrgb(4, 15, 215)
hslhsl(237, 96%, 43%)
oklchoklch(0.405 0.27 264.5)
Closest name: Brutally Blue (#0022dd)Relative luminance 0.0527

Tints & shades

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

Harmonies

Complementary

Open in tool →

#d7cc04

#0478d7 · #6304d7

#d7040f · #0fd704

Split-complementary

Open in tool →

#d76304 · #78d704

#d70478 · #d7cc04 · #04d763

Contrast

#040fd7 as textRatioAAAA largeAAAFix
Aaon white
10.22:1passpasspassPasses AAA — no fix needed.
Aaon black
2.05:1failfailfail
  • AA: use #5a62fc as the text (4.59:1)
  • AAA: use #878dfd as the text (7.26:1)
  • AA: or shift the background to #adadad (4.55:1)
  • AAA: or shift the background to #d6d6d6 (7.03:1)

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

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

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

tool url/palettes/new/040fd7-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