Color

#312136

#312136
hex#312136
rgbrgb(49, 33, 54)
hslhsl(286, 24%, 17%)
oklchoklch(0.277 0.044 318)
Closest name: Midnight Velvet (#2a2243)Relative luminance 0.0201

Tints & shades

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

Harmonies

Complementary

Open in tool →

#263621

#262136 · #362130

#363121 · #213631

Split-complementary

Open in tool →

#303621 · #213626

#362621 · #263621 · #213036

Contrast

#312136 as textRatioAAAA largeAAAFix
Aaon white
14.98:1passpasspassPasses AAA — no fix needed.
Aaon black
1.4:1failfailfail
  • AA: use #9264a0 as the text (4.55:1)
  • AAA: use #ad8ab7 as the text (7.1:1)
  • AA: or shift the background to #8f8f8f (4.63:1)
  • AAA: or shift the background to #b3b3b3 (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 #312136 as the background.

Brands using this color

Fonts for this mood

#312136 reads as cool, muted, dark. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/312136-bd9fc1-adcb62-2d1f2a-ece9f1?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