Color

#0f172a

#0f172a
hex#0f172a
rgbrgb(15, 23, 42)
hslhsl(222, 47%, 11%)
oklchoklch(0.208 0.04 265.8)
Closest name: Dark Knight (#151931)Relative luminance 0.0088

Tints & shades

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

Harmonies

Complementary

Open in tool →

#29210f

#0f2429 · #140f29

#290f17 · #17290f

Split-complementary

Open in tool →

#29140f · #24290f

#290f24 · #29210f · #0f2914

Contrast

#0f172a as textRatioAAAA largeAAAFix
Aaon white
17.85:1passpasspassPasses AAA — no fix needed.
Aaon black
1.18:1failfailfail
  • AA: use #5374c1 as the text (4.64:1)
  • AAA: use #7c95d0 as the text (7.07:1)
  • AA: or shift the background to #808080 (4.52:1)
  • AAA: or shift the background to #a3a3a3 (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 #0f172a as the background.

Brands using this color

Palettes built around it

Fonts for this mood

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

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

tool url/palettes/new/0f172a-9ca3c4-df6e4e-211f2d-e9eff1?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