Color

#0c1218

#0c1218
hex#0c1218
rgbrgb(12, 18, 24)
hslhsl(210, 33%, 7%)
oklchoklch(0.179 0.016 248.7)
Closest name: Midnight Edition (#0c121b)Relative luminance 0.0058

Tints & shades

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

Harmonies

Complementary

Open in tool →

#18120c

#0c1818 · #0c0c18

#180c12 · #12180c

Split-complementary

Open in tool →

#180c0c · #18180c

#180c18 · #18120c · #0c180c

Contrast

#0c1218 as textRatioAAAA largeAAAFix
Aaon white
18.83:1passpasspassPasses AAA — no fix needed.
Aaon black
1.12:1failfailfail
  • AA: use #50789f as the text (4.53:1)
  • AAA: use #7799bb as the text (7.06:1)
  • AA: or shift the background to #7d7d7d (4.57:1)
  • AAA: or shift the background to #9e9e9e (7.03:1)

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #0c1218 as the background.

Brands using this color

Palettes built around it

Fonts for this mood

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

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

tool url/palettes/new/0c1218-9cabc4-df514e-1f202d-e9f1f1?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