# Denim to Midnight Blue gradient

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

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

## OKLab

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

## OKLCH (shorter hue)

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

## Eased (soft)

- CSS: `linear-gradient(135deg in oklab, #1560bd 0%, #155fbc 8.28%, #165cb9 16.03%, #1758b4 23.35%, #1852ad 30.32%, #194ba6 37.03%, #1a449e 43.56%, #1b3d96 50%, #1b358e 56.44%, #1b2e86 62.97%, #1a287f 69.68%, #1a2279 76.65%, #191d74 83.97%, #191a71 91.72%, #191970 100%)`
- Tailwind: `bg-[linear-gradient(135deg_in_oklab,#1560bd_0%,#155fbc_8.28%,#165cb9_16.03%,#1758b4_23.35%,#1852ad_30.32%,#194ba6_37.03%,#1a449e_43.56%,#1b3d96_50%,#1b358e_56.44%,#1b2e86_62.97%,#1a287f_69.68%,#1a2279_76.65%,#191d74_83.97%,#191a71_91.72%,#191970_100%)]`
- Contrast (worst point): white 6.11:1 AA · black 1.41:1 fail · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.1560bd-191970?a=135&e=soft&n=15

## Mesh

- CSS: `radial-gradient(circle farthest-corner at 2.58% 9.63%, oklch(from #1560bd l c h / 0.759) 0%, rgb(from #1560bd r g b / 0) 52.02%), radial-gradient(circle farthest-corner at 9.68% 74.91%, oklch(from #191970 l c h / 0.804) 0%, rgb(from #191970 r g b / 0) 55.38%)`
- Tailwind: `bg-[radial-gradient(circle_farthest-corner_at_2.58%_9.63%,oklch(from_#1560bd_l_c_h_/_0.759)_0%,rgb(from_#1560bd_r_g_b_/_0)_52.02%),radial-gradient(circle_farthest-corner_at_9.68%_74.91%,oklch(from_#191970_l_c_h_/_0.804)_0%,rgb(from_#191970_r_g_b_/_0)_55.38%)]`
- Contrast (worst point): white 6.99:1 AA · black 1.97:1 fail · banding high
- Maker: https://brandsweets.com/gradients/new/v1.1560bd-191970?k=mesh&seed=denim-to-midnightblue

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