# Midnight Blue to Denim gradient

Midnight Blue (#191970) to Denim (#1560bd), interpolated perceptually. The engine's pick for this pair is oklab.

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

## OKLab

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

## OKLCH (shorter hue)

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

## Eased (soft)

- CSS: `linear-gradient(135deg in oklab, #191970 0%, #191a71 8.28%, #191d74 16.03%, #1a2279 23.35%, #1a287f 30.32%, #1b2e86 37.03%, #1b358e 43.56%, #1b3d96 50%, #1a449e 56.44%, #194ba6 62.97%, #1852ad 69.68%, #1758b4 76.65%, #165cb9 83.97%, #155fbc 91.72%, #1560bd 100%)`
- Tailwind: `bg-[linear-gradient(135deg_in_oklab,#191970_0%,#191a71_8.28%,#191d74_16.03%,#1a2279_23.35%,#1a287f_30.32%,#1b2e86_37.03%,#1b358e_43.56%,#1b3d96_50%,#1a449e_56.44%,#194ba6_62.97%,#1852ad_69.68%,#1758b4_76.65%,#165cb9_83.97%,#155fbc_91.72%,#1560bd_100%)]`
- Contrast (worst point): white 6.11:1 AA · black 1.41:1 fail · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.191970-1560bd?a=135&e=soft&n=15

## Mesh

- CSS: `radial-gradient(circle farthest-corner at 23.79% 22.64%, oklch(from #1560bd l c h / 0.7097) 0%, rgb(from #1560bd r g b / 0) 56.42%), radial-gradient(circle farthest-corner at 77.77% 60.8%, oklch(from #191970 l c h / 0.8109) 0%, rgb(from #191970 r g b / 0) 53.64%)`
- Tailwind: `bg-[radial-gradient(circle_farthest-corner_at_23.79%_22.64%,oklch(from_#1560bd_l_c_h_/_0.7097)_0%,rgb(from_#1560bd_r_g_b_/_0)_56.42%),radial-gradient(circle_farthest-corner_at_77.77%_60.8%,oklch(from_#191970_l_c_h_/_0.8109)_0%,rgb(from_#191970_r_g_b_/_0)_53.64%)]`
- Contrast (worst point): white 6.99:1 AA · black 1.62:1 fail · banding high
- Maker: https://brandsweets.com/gradients/new/v1.191970-1560bd?k=mesh&seed=midnightblue-to-denim

## 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.
