Named color

Midnight

#03012d
hex#03012d
rgbrgb(3, 1, 45)
hslhsl(243, 96%, 9%)
oklchoklch(0.142 0.088 270.7)
Relative luminance 0.0023

Midnight on this page is the real value, not a screenshot: exact hex, RGB, HSL and OKLCH, ten tints and ten shades, classic harmonies, and WCAG contrast with fixes — plus the curated palettes it appears in and any public brand that adopts it.

Tints & shades

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

Harmonies

Complementary

Open in tool →

#2b2d01

#01152d · #19012d

#2d0301 · #012d03

Split-complementary

Open in tool →

#2d1901 · #152d01

#2d0115 · #2b2d01 · #012d19

Contrast

Midnight as textRatioAAAA largeAAAFix
Aaon white
20.07:1passpasspassPasses AAA — no fix needed.
Aaon black
1.05:1failfailfail
  • AA: use #675ffc as the text (4.62:1)
  • AAA: use #8d87fd as the text (7.02:1)
  • AA: or shift the background to #787878 (4.55:1)
  • AAA: or shift the background to #999999 (7.05:1)

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

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

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

tool url/palettes/new/03012d-a39cc4-dfa04e-261f2d-e9edf1?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