Color

#042ca4

#042ca4
hex#042ca4
rgbrgb(4, 44, 164)
hslhsl(225, 95%, 33%)
oklchoklch(0.371 0.194 263.9)
Closest name: Blue Hour (#0034ab)Relative luminance 0.0451

Tints & shades

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

Harmonies

Complementary

Open in tool →

#a47c04

#047ca4 · #2c04a4

#a4042c · #2ca404

Split-complementary

Open in tool →

#a42c04 · #7ca404

#a4047c · #a47c04 · #04a42c

Contrast

#042ca4 as textRatioAAAA largeAAAFix
Aaon white
11.04:1passpasspassPasses AAA — no fix needed.
Aaon black
1.9:1failfailfail
  • AA: use #3869fa as the text (4.57:1)
  • AAA: use #6f92fb as the text (7.18:1)
  • AA: or shift the background to #a6a6a6 (4.54:1)
  • AAA: or shift the background to #cfcfcf (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 #042ca4 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

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

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

tool url/palettes/new/042ca4-9ca1c4-df754e-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