Color

#240f2e

#240f2e
hex#240f2e
rgbrgb(36, 15, 46)
hslhsl(281, 51%, 12%)
oklchoklch(0.217 0.063 313.6)
Closest name: Dark Prom Queen (#2b0f2e)Relative luminance 0.0091

Tints & shades

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

Harmonies

Complementary

Open in tool →

#192e0f

#150f2e · #2e0f28

#2e240f · #0f2e24

Split-complementary

Open in tool →

#282e0f · #0f2e15

#2e150f · #192e0f · #0f282e

Contrast

#240f2e as textRatioAAAA largeAAAFix
Aaon white
17.75:1passpasspassPasses AAA — no fix needed.
Aaon black
1.18:1failfailfail
  • AA: use #a252c7 as the text (4.57:1)
  • AAA: use #bb80d6 as the text (7.17:1)
  • AA: or shift the background to #828282 (4.62:1)
  • AAA: or shift the background to #a3a3a3 (7.04:1)

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

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

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

tool url/palettes/new/240f2e-ba9fc1-b6cb62-2d1f2c-ebe9f1?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