Color

#182a4e

#182a4e
hex#182a4e
rgbrgb(24, 42, 78)
hslhsl(220, 53%, 20%)
oklchoklch(0.29 0.07 262.8)
Closest name: Midnight Ocean (#0f2d4d)Relative luminance 0.024

Tints & shades

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

Harmonies

Complementary

Open in tool →

#4e3c18

#18454e · #21184e

#4e182a · #2a4e18

Split-complementary

Open in tool →

#4e2118 · #454e18

#4e1845 · #4e3c18 · #184e21

Contrast

#182a4e as textRatioAAAA largeAAAFix
Aaon white
14.19:1passpasspassPasses AAA — no fix needed.
Aaon black
1.48:1failfailfail
  • AA: use #4872c7 as the text (4.51:1)
  • AAA: use #7696d5 as the text (7.09:1)
  • AA: or shift the background to #919191 (4.5:1)
  • AAA: or shift the background to #b8b8b8 (7.15:1)

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

#182a4e reads as cool, dark, luxury. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/182a4e-9ca5c4-df694e-211f2d-e9f0f1?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