# Royal Blue to Olive Green gradient

Royal Blue (#4169e1) to Olive Green (#808000), interpolated perceptually. The engine's pick for this pair is oklch.

- Page: https://brandsweets.com/gradients/royalblue-to-olive
- Colors: https://brandsweets.com/colors/royalblue, https://brandsweets.com/colors/olive
- Reverse: https://brandsweets.com/gradients/olive-to-royalblue

## OKLab

- CSS: `linear-gradient(135deg in oklab, #4169e1 0%, #808000 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#4169e1] to-[#808000]`
- Contrast (worst point): white 4.19:1 AA-large · black 4.32:1 AA-large · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.4169e1-808000?a=135

## OKLCH (shorter hue)

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

## Eased (soft)

- CSS: `linear-gradient(135deg in oklch shorter hue, #4169e1 0%, #3a6be0 8.28%, #1d70de 16.03%, #0078d8 23.35%, #0080be 30.32%, #0085a9 37.03%, #008997 43.56%, #008d85 50%, #00906e 56.44%, #009152 62.97%, #458d39 69.68%, #628824 76.65%, #738411 83.97%, #7d8104 91.72%, #808000 100%)`
- Tailwind: `bg-[linear-gradient(135deg_in_oklch_shorter_hue,#4169e1_0%,#3a6be0_8.28%,#1d70de_16.03%,#0078d8_23.35%,#0080be_30.32%,#0085a9_37.03%,#008997_43.56%,#008d85_50%,#00906e_56.44%,#009152_62.97%,#458d39_69.68%,#628824_76.65%,#738411_83.97%,#7d8104_91.72%,#808000_100%)]`
- Contrast (worst point): white 3.96:1 AA-large · black 4.32:1 AA-large · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.4169e1-808000?a=135&in=oklch&hue=shorter&e=soft&n=15

## Mesh

- CSS: `radial-gradient(circle farthest-corner at 87.86% 84.34%, oklch(from #4169e1 l c h / 0.7301) 0%, rgb(from #4169e1 r g b / 0) 49.07%), radial-gradient(circle farthest-corner at 78.12% 12.34%, oklch(from #808000 l c h / 0.79) 0%, rgb(from #808000 r g b / 0) 57.87%)`
- Tailwind: `bg-[radial-gradient(circle_farthest-corner_at_87.86%_84.34%,oklch(from_#4169e1_l_c_h_/_0.7301)_0%,rgb(from_#4169e1_r_g_b_/_0)_49.07%),radial-gradient(circle_farthest-corner_at_78.12%_12.34%,oklch(from_#808000_l_c_h_/_0.79)_0%,rgb(from_#808000_r_g_b_/_0)_57.87%)]`
- Contrast (worst point): white 4.39:1 AA-large · black 4.38:1 AA-large · banding high
- Maker: https://brandsweets.com/gradients/new/v1.4169e1-808000?k=mesh&seed=royalblue-to-olive

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