Named gradient · uiGradients

Horizon

Horizon is a blue gradient from uiGradients (MIT) — #003973 → #e5e5be at 90°. Shown here interpolated in OKLab, next to the original sRGB, with the worst-case contrast for white and black text and every export.

Aa — the quick brown fox
black text · worst 1.83:1 · fails
white 1.29 failsblack 1.83 failsbanding medium

Same stops, three spaces

The source renders this in sRGB. The number is how much chroma survives at the dullest point along the line — the difference between the first bar and the others is the grey that OKLab removes.

sRGB28%
OKLab23%
OKLCH62%

Report

  • white ink: worst 1.29:1 at 100% (fails AA); black ink: worst 1.83:1 at 0% (fails AA) → use black text.
  • Neither ink passes AA at the worst point — treat as decorative or add a scrim (rgba(0,0,0,.35) typically lifts white ink past 4:1).
  • Banding medium: ~6px bands at 1440px — add grain 11 (≈1% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #003973 0%, #154579 7.14%, #265180 14.29%, #365d86 21.43%, #45698c 28.57%, #547592 35.71%, #648297 42.86%, #738e9d 50%, #839aa2 57.14%, #93a6a7 64.29%, #a3b3ac 71.43%, #b3bfb1 78.57%, #c3ccb5 85.71%, #d4d8ba 92.86%, #e5e5be 100%);
  background-image: linear-gradient(90deg in oklab, #003973 0%, #e5e5be 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#003973] to-[#e5e5be]
svg
<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="600" viewBox="0 0 1440 600"><defs><linearGradient id="bs-gradient" gradientUnits="userSpaceOnUse" x1="0" y1="300" x2="1440" y2="300"><stop offset="0%" stop-color="#003973"/><stop offset="7.14%" stop-color="#154579"/><stop offset="14.29%" stop-color="#265180"/><stop offset="21.43%" stop-color="#365d86"/><stop offset="28.57%" stop-color="#45698c"/><stop offset="35.71%" stop-color="#547592"/><stop offset="42.86%" stop-color="#648297"/><stop offset="50%" stop-color="#738e9d"/><stop offset="57.14%" stop-color="#839aa2"/><stop offset="64.29%" stop-color="#93a6a7"/><stop offset="71.43%" stop-color="#a3b3ac"/><stop offset="78.57%" stop-color="#b3bfb1"/><stop offset="85.71%" stop-color="#c3ccb5"/><stop offset="92.86%" stop-color="#d4d8ba"/><stop offset="100%" stop-color="#e5e5be"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "horizon": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0,
            0.224,
            0.451
          ],
          "hex": "#003973"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.898,
            0.898,
            0.745
          ],
          "hex": "#e5e5be"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #003973 0%, #e5e5be 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Horizon",
        "contrast": {
          "white": {
            "ratio": 1.29,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 1.833,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Horizon (uiGradients, MIT), rendered in OKLab."
  }
}

Tagged

More blue gradients

mcpConnect your agent to the gradient engine
live endpoint

Point any MCP client at the shared gradients endpoint and your agent gets the same engine as this page — make_gradient returns CSS with the interpolation space, Tailwind v4, SVG, a PNG URL, a DTCG token and the contrast report in one call; brand_gradients derives the whole contact sheet from a brand or a palette. Read-only, no key. Every gradient is a /gradients/new/… link: open it, refine, paste it back.

endpointhttps://mcp.brandsweets.com/gradients/mcp
claude mcp add --transport http brandsweets-gradients https://mcp.brandsweets.com/gradients/mcp
try this prompt

take the Horizon gradient (#003973, #e5e5be), re-interpolate it in oklch, and tell me the worst-case contrast for white text

Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.

Machine-readable: gradients.md · From uiGradients (MIT) — licences