Named color

Midnight Ocean

#0f2d4d
hex#0f2d4d
rgbrgb(15, 45, 77)
hslhsl(211, 67%, 18%)
oklchoklch(0.293 0.069 252.5)
Relative luminance 0.0251

Midnight Ocean 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 1 public brand that uses it and the palettes it appears in.

Tints & shades

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

Harmonies

Complementary

Open in tool →

#4d2f0f

#0f4c4d · #100f4d

#4d0f2d · #2d4d0f

Split-complementary

Open in tool →

#4d100f · #4c4d0f

#4d0f4c · #4d2f0f · #0f4d10

Contrast

Midnight Ocean as textRatioAAAA largeAAAFix
Aaon white
13.97:1passpasspassPasses AAA — no fix needed.
Aaon black
1.5:1failfailfail
  • AA: use #2878cc as the text (4.65:1)
  • AAA: use #5999de as the text (7.04:1)
  • AA: or shift the background to #949494 (4.61:1)
  • AAA: or shift the background to #b8b8b8 (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 Midnight Ocean as the background.

Brands using this color

Fonts for this mood

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

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

tool url/palettes/new/0f2d4d-9cabc4-df534e-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