Color

#21173a

#21173a
hex#21173a
rgbrgb(33, 23, 58)
hslhsl(257, 43%, 16%)
oklchoklch(0.238 0.065 294.1)
Closest name: Nightwalker (#161d3b)Relative luminance 0.0124

Tints & shades

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

Harmonies

Complementary

Open in tool →

#303a17

#171f3a · #33173a

#3a2117 · #173a21

Split-complementary

Open in tool →

#3a3317 · #1f3a17

#3a171f · #303a17 · #173a33

Contrast

#21173a as textRatioAAAA largeAAAFix
Aaon white
16.82:1passpasspassPasses AAA — no fix needed.
Aaon black
1.25:1failfailfail
  • AA: use #8066c2 as the text (4.6:1)
  • AAA: use #9e8ad0 as the text (7:1)
  • AA: or shift the background to #858585 (4.56:1)
  • AAA: or shift the background to #a8a8a8 (7.07:1)

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

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

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

tool url/palettes/new/21173a-ac9cc4-dfc24e-291f2d-e9ebf1?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