Color

#0c021c

#0c021c
hex#0c021c
rgbrgb(12, 2, 28)
hslhsl(263, 87%, 6%)
oklchoklch(0.134 0.059 299.1)
Closest name: Obsidian Shard (#060313)Relative luminance 0.0021

Tints & shades

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

Harmonies

Complementary

Open in tool →

#121d02

#02051d · #1a021d

#1d0c02 · #021d0c

Split-complementary

Open in tool →

#1d1a02 · #051d02

#1d0205 · #121d02 · #021d1a

Contrast

#0c021c as textRatioAAAA largeAAAFix
Aaon white
20.17:1passpasspassPasses AAA — no fix needed.
Aaon black
1.04:1failfailfail
  • AA: use #8d4ff3 as the text (4.55:1)
  • AAA: use #ac7ef6 as the text (7.07:1)
  • AA: or shift the background to #787878 (4.57:1)
  • AAA: or shift the background to #999999 (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 #0c021c 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

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

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

tool url/palettes/new/0c021c-b09cc4-dfd04e-2b1f2d-e9eaf1?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