Named gradient · uiGradients

Blu

Blu is a blue gradient from uiGradients (MIT) — #00416a → #e4e5e6 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.96:1 · fails
white 1.26 failsblack 1.96 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.

sRGB4%
OKLab4%
OKLCH5%

Report

  • white ink: worst 1.26:1 at 100% (fails AA); black ink: worst 1.96: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, #00416a 0%, #184c73 7.14%, #29577c 14.29%, #396284 21.43%, #486e8d 28.57%, #577996 35.71%, #66859f 42.86%, #7690a8 50%, #859cb1 57.14%, #94a8b9 64.29%, #a4b4c2 71.43%, #b4c0cb 78.57%, #c4ccd4 85.71%, #d4d9dd 92.86%, #e4e5e6 100%);
  background-image: linear-gradient(90deg in oklab, #00416a 0%, #e4e5e6 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#00416a] to-[#e4e5e6]
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="#00416a"/><stop offset="7.14%" stop-color="#184c73"/><stop offset="14.29%" stop-color="#29577c"/><stop offset="21.43%" stop-color="#396284"/><stop offset="28.57%" stop-color="#486e8d"/><stop offset="35.71%" stop-color="#577996"/><stop offset="42.86%" stop-color="#66859f"/><stop offset="50%" stop-color="#7690a8"/><stop offset="57.14%" stop-color="#859cb1"/><stop offset="64.29%" stop-color="#94a8b9"/><stop offset="71.43%" stop-color="#a4b4c2"/><stop offset="78.57%" stop-color="#b4c0cb"/><stop offset="85.71%" stop-color="#c4ccd4"/><stop offset="92.86%" stop-color="#d4d9dd"/><stop offset="100%" stop-color="#e4e5e6"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "blu": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0,
            0.255,
            0.416
          ],
          "hex": "#00416a"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.894,
            0.898,
            0.902
          ],
          "hex": "#e4e5e6"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #00416a 0%, #e4e5e6 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Blu",
        "contrast": {
          "white": {
            "ratio": 1.261,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 1.964,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Blu (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 Blu gradient (#00416a, #e4e5e6), 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