Named gradient · uiGradients

Mirage

Mirage is a blue gradient from uiGradients (MIT) — #16222a → #3a6073 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 6.77:1 · AA
white 6.77 AAblack 1.30 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.

sRGB60%
OKLab60%
OKLCH60%

Report

  • white ink: worst 6.77:1 at 100% (AA); black ink: worst 1.30:1 at 0% (fails AA) → use white text.
  • Banding medium: ~20px bands at 1440px — add grain 39 (≈3% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #16222a 0%, #18262f 7.14%, #1b2a34 14.29%, #1d2e39 21.43%, #20333e 28.57%, #223743 35.71%, #253b48 42.86%, #28404d 50%, #2a4452 57.14%, #2d4958 64.29%, #2f4d5d 71.43%, #325262 78.57%, #355768 85.71%, #375b6d 92.86%, #3a6073 100%);
  background-image: linear-gradient(90deg in oklab, #16222a 0%, #3a6073 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#16222a] to-[#3a6073]
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="#16222a"/><stop offset="7.14%" stop-color="#18262f"/><stop offset="14.29%" stop-color="#1b2a34"/><stop offset="21.43%" stop-color="#1d2e39"/><stop offset="28.57%" stop-color="#20333e"/><stop offset="35.71%" stop-color="#223743"/><stop offset="42.86%" stop-color="#253b48"/><stop offset="50%" stop-color="#28404d"/><stop offset="57.14%" stop-color="#2a4452"/><stop offset="64.29%" stop-color="#2d4958"/><stop offset="71.43%" stop-color="#2f4d5d"/><stop offset="78.57%" stop-color="#325262"/><stop offset="85.71%" stop-color="#355768"/><stop offset="92.86%" stop-color="#375b6d"/><stop offset="100%" stop-color="#3a6073"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "mirage": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.086,
            0.133,
            0.165
          ],
          "hex": "#16222a"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.227,
            0.376,
            0.451
          ],
          "hex": "#3a6073"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #16222a 0%, #3a6073 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Mirage",
        "contrast": {
          "white": {
            "ratio": 6.773,
            "at": 1,
            "passesAA": true,
            "passesAALarge": true
          },
          "black": {
            "ratio": 1.296,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Mirage (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 Mirage gradient (#16222a, #3a6073), 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