Color

#1f4e98

#1f4e98
hex#1f4e98
rgbrgb(31, 78, 152)
hslhsl(217, 66%, 36%)
oklchoklch(0.435 0.132 259.3)
Closest name: Cascade Twilight (#234893)Relative luminance 0.0801

Tints & shades

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

Harmonies

Complementary

Open in tool →

#986a1f

#1f8a98 · #2d1f98

#981f4e · #4e981f

Split-complementary

Open in tool →

#982d1f · #8a981f

#981f8a · #986a1f · #1f982d

Contrast

#1f4e98 as textRatioAAAA largeAAAFix
Aaon white
8.07:1passpasspassPasses AAA — no fix needed.
Aaon black
2.6:1failfailfail
  • AA: use #3472d5 as the text (4.51:1)
  • AAA: use #6b98e1 as the text (7.2:1)
  • AA: or shift the background to #c2c2c2 (4.53:1)
  • AAA: or shift the background to #f0f0f0 (7.08:1)

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

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

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

tool url/palettes/new/1f4e98-9ca7c4-df624e-201f2d-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