Named gradient · uiGradients

Lawrencium

Lawrencium is a blue gradient from uiGradients (MIT) — #0f0c29 → #302b63 → #24243e 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 12.72:1 · AA
white 12.72 AAblack 1.10 failsbanding high

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.

sRGB91%
OKLab91%
OKLCH91%

Report

  • white ink: worst 12.72:1 at 50% (AA); black ink: worst 1.10:1 at 0% (fails AA) → use white text.
  • Banding high: ~19px bands at 1440px — add grain 39 (≈3% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #0f0c29 0%, #110e2d 3.57%, #131031 7.14%, #161235 10.71%, #181439 14.29%, #1a173d 17.86%, #1d1941 21.43%, #1f1b45 25%, #211d49 28.57%, #241f4d 32.14%, #262252 35.71%, #292456 39.29%, #2b265a 42.86%, #2d295f 46.43%, #302b63 50%, #2f2b60 53.57%, #2e2a5e 57.14%, #2d2a5b 60.71%, #2c2958 64.29%, #2c2956 67.86%, #2b2853 71.43%, #2a2850 75%, #29274e 78.57%, #28274b 82.14%, #272648 85.71%, #262646 89.29%, #262543 92.86%, #252541 96.43%, #24243e 100%);
  background-image: linear-gradient(90deg in oklab, #0f0c29 0%, #302b63 50%, #24243e 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#0f0c29] via-[#302b63] to-[#24243e]
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="#0f0c29"/><stop offset="3.57%" stop-color="#110e2d"/><stop offset="7.14%" stop-color="#131031"/><stop offset="10.71%" stop-color="#161235"/><stop offset="14.29%" stop-color="#181439"/><stop offset="17.86%" stop-color="#1a173d"/><stop offset="21.43%" stop-color="#1d1941"/><stop offset="25%" stop-color="#1f1b45"/><stop offset="28.57%" stop-color="#211d49"/><stop offset="32.14%" stop-color="#241f4d"/><stop offset="35.71%" stop-color="#262252"/><stop offset="39.29%" stop-color="#292456"/><stop offset="42.86%" stop-color="#2b265a"/><stop offset="46.43%" stop-color="#2d295f"/><stop offset="50%" stop-color="#302b63"/><stop offset="53.57%" stop-color="#2f2b60"/><stop offset="57.14%" stop-color="#2e2a5e"/><stop offset="60.71%" stop-color="#2d2a5b"/><stop offset="64.29%" stop-color="#2c2958"/><stop offset="67.86%" stop-color="#2c2956"/><stop offset="71.43%" stop-color="#2b2853"/><stop offset="75%" stop-color="#2a2850"/><stop offset="78.57%" stop-color="#29274e"/><stop offset="82.14%" stop-color="#28274b"/><stop offset="85.71%" stop-color="#272648"/><stop offset="89.29%" stop-color="#262646"/><stop offset="92.86%" stop-color="#262543"/><stop offset="96.43%" stop-color="#252541"/><stop offset="100%" stop-color="#24243e"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "lawrencium": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.059,
            0.047,
            0.161
          ],
          "hex": "#0f0c29"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.188,
            0.169,
            0.388
          ],
          "hex": "#302b63"
        },
        "position": 0.5
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.141,
            0.141,
            0.243
          ],
          "hex": "#24243e"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #0f0c29 0%, #302b63 50%, #24243e 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Lawrencium",
        "contrast": {
          "white": {
            "ratio": 12.717,
            "at": 0.5,
            "passesAA": true,
            "passesAALarge": true
          },
          "black": {
            "ratio": 1.105,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Lawrencium (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 Lawrencium gradient (#0f0c29, #302b63, #24243e), 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