Named gradient · uiGradients

Moonwalker

Moonwalker is a blue gradient from uiGradients (MIT) — #152331 → #000000 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
white text · worst 15.95:1 · AA
white 15.95 AAblack 1.00 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.

sRGB0%
OKLab0%
OKLCH0%

Report

  • white ink: worst 15.95:1 at 0% (AA); black ink: worst 1.00:1 at 83% (fails AA) → use white text.
  • Black text disappears completely at 83% (1.00:1 crossing).
  • Banding medium: ~29px bands at 1440px — add grain 50 (≈3% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #152331 0%, #121f2b 7.14%, #0f1a26 14.29%, #0c1621 21.43%, #09121b 28.57%, #070e16 35.71%, #050a11 42.86%, #03070c 50%, #020408 57.14%, #010305 64.29%, #010102 71.43%, #000101 78.57%, #000000 85.71%, #000000 92.86%, #000000 100%);
  background-image: linear-gradient(90deg in oklab, #152331 0%, #000000 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#152331] to-[#000000]
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="#152331"/><stop offset="7.14%" stop-color="#121f2b"/><stop offset="14.29%" stop-color="#0f1a26"/><stop offset="21.43%" stop-color="#0c1621"/><stop offset="28.57%" stop-color="#09121b"/><stop offset="35.71%" stop-color="#070e16"/><stop offset="42.86%" stop-color="#050a11"/><stop offset="50%" stop-color="#03070c"/><stop offset="57.14%" stop-color="#020408"/><stop offset="64.29%" stop-color="#010305"/><stop offset="71.43%" stop-color="#010102"/><stop offset="78.57%" stop-color="#000101"/><stop offset="85.71%" stop-color="#000000"/><stop offset="92.86%" stop-color="#000000"/><stop offset="100%" stop-color="#000000"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "moonwalker": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.082,
            0.137,
            0.192
          ],
          "hex": "#152331"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0,
            0,
            0
          ],
          "hex": "#000000"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #152331 0%, #000000 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Moonwalker",
        "contrast": {
          "white": {
            "ratio": 15.95,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "black": {
            "ratio": 1,
            "at": 0.8333,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Moonwalker (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 Moonwalker gradient (#152331, #000000), 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