Color

#042b4e

#042b4e
hex#042b4e
rgbrgb(4, 43, 78)
hslhsl(208, 90%, 16%)
oklchoklch(0.285 0.076 250.6)
Closest name: Midnight Ocean (#0f2d4d)Relative luminance 0.023

Tints & shades

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

Harmonies

Complementary

Open in tool →

#4e2604

#044e4b · #04074e

#4e042b · #2b4e04

Split-complementary

Open in tool →

#4e0407 · #4e4b04

#4b044e · #4e2604 · #074e04

Contrast

#042b4e as textRatioAAAA largeAAAFix
Aaon white
14.38:1passpasspassPasses AAA — no fix needed.
Aaon black
1.46:1failfailfail
  • AA: use #0b77d5 as the text (4.61:1)
  • AAA: use #349af4 as the text (7.07:1)
  • AA: or shift the background to #919191 (4.56:1)
  • AAA: or shift the background to #b5b5b5 (7.01:1)

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

Brands using this color

Fonts for this mood

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

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

tool url/palettes/new/042b4e-9cadc4-df4e51-1f212d-e9f1f1?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