Color

#0f0c18

#0f0c18
hex#0f0c18
rgbrgb(15, 12, 24)
hslhsl(255, 33%, 7%)
oklchoklch(0.165 0.025 295)
Closest name: Midnight Oil (#0b0c14)Relative luminance 0.0043

Tints & shades

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

Harmonies

Complementary

Open in tool →

#15180c

#0c0f18 · #150c18

#180f0c · #0c180f

Split-complementary

Open in tool →

#18150c · #0f180c

#180c0f · #15180c · #0c1815

Contrast

#0f0c18 as textRatioAAAA largeAAAFix
Aaon white
19.34:1passpasspassPasses AAA — no fix needed.
Aaon black
1.09:1failfailfail
  • AA: use #7c6ab4 as the text (4.58:1)
  • AAA: use #9d8fc7 as the text (7.19:1)
  • AA: or shift the background to #7a7a7a (4.5:1)
  • AAA: or shift the background to #9c9c9c (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 #0f0c18 as the background.

Brands using this color

Palettes built around it

Fonts for this mood

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

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

tool url/palettes/new/0f0c18-ab9cc4-dfbd4e-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