Named gradient · uiGradients

Blue Slate

Blue Slate is a blue gradient from uiGradients (MIT) — #b5b9ff → #2b2c49 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 1.85:1 · fails
white 1.85 failsblack 1.56 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.

sRGB69%
OKLab68%
OKLCH68%

Report

  • white ink: worst 1.85:1 at 0% (fails AA); black ink: worst 1.56:1 at 100% (fails AA) → use white 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: ~8px bands at 1440px — add grain 15 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #b5b9ff 0%, #aaaef1 7.14%, #9fa3e3 14.29%, #9598d5 21.43%, #8a8ec7 28.57%, #8083ba 35.71%, #7679ac 42.86%, #6c6e9f 50%, #626492 57.14%, #585a85 64.29%, #4f5179 71.43%, #46476c 78.57%, #3d3e60 85.71%, #343555 92.86%, #2b2c49 100%);
  background-image: linear-gradient(90deg in oklab, #b5b9ff 0%, #2b2c49 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#b5b9ff] to-[#2b2c49]
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="#b5b9ff"/><stop offset="7.14%" stop-color="#aaaef1"/><stop offset="14.29%" stop-color="#9fa3e3"/><stop offset="21.43%" stop-color="#9598d5"/><stop offset="28.57%" stop-color="#8a8ec7"/><stop offset="35.71%" stop-color="#8083ba"/><stop offset="42.86%" stop-color="#7679ac"/><stop offset="50%" stop-color="#6c6e9f"/><stop offset="57.14%" stop-color="#626492"/><stop offset="64.29%" stop-color="#585a85"/><stop offset="71.43%" stop-color="#4f5179"/><stop offset="78.57%" stop-color="#46476c"/><stop offset="85.71%" stop-color="#3d3e60"/><stop offset="92.86%" stop-color="#343555"/><stop offset="100%" stop-color="#2b2c49"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "blue-slate": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.71,
            0.725,
            1
          ],
          "hex": "#b5b9ff"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.169,
            0.173,
            0.286
          ],
          "hex": "#2b2c49"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #b5b9ff 0%, #2b2c49 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Blue Slate",
        "contrast": {
          "white": {
            "ratio": 1.85,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 1.559,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Blue Slate (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 Blue Slate gradient (#b5b9ff, #2b2c49), 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