# Midnight Blue to Cobalt Blue gradient

Midnight Blue (#191970) to Cobalt Blue (#0047ab), interpolated perceptually. The engine's pick for this pair is oklab.

- Page: https://brandsweets.com/gradients/midnightblue-to-cobalt
- Colors: https://brandsweets.com/colors/midnightblue, https://brandsweets.com/colors/cobalt
- Reverse: https://brandsweets.com/gradients/cobalt-to-midnightblue

## OKLab

- CSS: `linear-gradient(135deg in oklab, #191970 0%, #0047ab 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#191970] to-[#0047ab]`
- Contrast (worst point): white 8.44:1 AA · black 1.41:1 fail · banding high
- Maker: https://brandsweets.com/gradients/new/v1.191970-0047ab?a=135

## OKLCH (shorter hue)

- CSS: `linear-gradient(135deg in oklch shorter hue, #191970 0%, #0047ab 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#191970] to-[#0047ab]`
- Contrast (worst point): white 8.44:1 AA · black 1.41:1 fail · banding high
- Maker: https://brandsweets.com/gradients/new/v1.191970-0047ab?a=135&in=oklch&hue=shorter

## Eased (soft)

- CSS: `linear-gradient(135deg in oklab, #191970 0%, #191a71 8.28%, #191c73 16.03%, #191f77 23.35%, #18227b 30.32%, #172781 37.03%, #162b87 43.56%, #15308d 50%, #123593 56.44%, #0f3a99 62.97%, #0c3e9f 69.68%, #0742a4 76.65%, #0444a8 83.97%, #0146aa 91.72%, #0047ab 100%)`
- Tailwind: `bg-[linear-gradient(135deg_in_oklab,#191970_0%,#191a71_8.28%,#191c73_16.03%,#191f77_23.35%,#18227b_30.32%,#172781_37.03%,#162b87_43.56%,#15308d_50%,#123593_56.44%,#0f3a99_62.97%,#0c3e9f_69.68%,#0742a4_76.65%,#0444a8_83.97%,#0146aa_91.72%,#0047ab_100%)]`
- Contrast (worst point): white 8.44:1 AA · black 1.41:1 fail · banding high
- Maker: https://brandsweets.com/gradients/new/v1.191970-0047ab?a=135&e=soft&n=15

## Mesh

- CSS: `radial-gradient(circle farthest-corner at 24.34% 62.76%, oklch(from #0047ab l c h / 0.7383) 0%, rgb(from #0047ab r g b / 0) 46.64%), radial-gradient(circle farthest-corner at 71.08% 48.31%, oklch(from #191970 l c h / 0.8595) 0%, rgb(from #191970 r g b / 0) 45.77%)`
- Tailwind: `bg-[radial-gradient(circle_farthest-corner_at_24.34%_62.76%,oklch(from_#0047ab_l_c_h_/_0.7383)_0%,rgb(from_#0047ab_r_g_b_/_0)_46.64%),radial-gradient(circle_farthest-corner_at_71.08%_48.31%,oklch(from_#191970_l_c_h_/_0.8595)_0%,rgb(from_#191970_r_g_b_/_0)_45.77%)]`
- Contrast (worst point): white 10.62:1 AA · black 1.64:1 fail · banding low
- Maker: https://brandsweets.com/gradients/new/v1.191970-0047ab?k=mesh&seed=midnightblue-to-cobalt

## Gradient maker

Every maker URL is the gradient's state: `/gradients/new/v1.<hex>-<hex>[_pos]?a=135&in=oklch&hue=shorter&e=soft&g=8`. Hand one to a human, let them refine, and read the link they return.

## Connect an agent

Point any MCP client at the BrandSweets gradients endpoint for the same engine and corpus:

- Endpoint: https://mcp.brandsweets.com/gradients/mcp
- Tools: `make_gradient` (2–5 colours → CSS with the interpolation space, Tailwind v4, SVG, PNG URL, DTCG token + the contrast/banding/gamut report), `brand_gradients` (brand slug or palette → brand gradient, hero, button, variants).
- Resource: `gradients://corpus` — the whole bundled corpus as JSON.
