Named gradient · uiGradients

Dark Skies

Dark Skies is a blue gradient from uiGradients (MIT) — #4b79a1 → #283e51 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 4.62:1 · AA
white 4.62 AAblack 1.90 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.

sRGB70%
OKLab70%
OKLCH70%

Report

  • white ink: worst 4.62:1 at 0% (AA); black ink: worst 1.90:1 at 100% (fails AA) → use white text.
  • Banding medium: ~18px bands at 1440px — add grain 36 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #4b79a1 0%, #48759b 7.14%, #467095 14.29%, #436c8f 21.43%, #416789 28.57%, #3e6383 35.71%, #3c5f7e 42.86%, #395b78 50%, #375672 57.14%, #34526c 64.29%, #324e67 71.43%, #2f4a61 78.57%, #2d465c 85.71%, #2a4256 92.86%, #283e51 100%);
  background-image: linear-gradient(90deg in oklab, #4b79a1 0%, #283e51 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#4b79a1] to-[#283e51]
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="#4b79a1"/><stop offset="7.14%" stop-color="#48759b"/><stop offset="14.29%" stop-color="#467095"/><stop offset="21.43%" stop-color="#436c8f"/><stop offset="28.57%" stop-color="#416789"/><stop offset="35.71%" stop-color="#3e6383"/><stop offset="42.86%" stop-color="#3c5f7e"/><stop offset="50%" stop-color="#395b78"/><stop offset="57.14%" stop-color="#375672"/><stop offset="64.29%" stop-color="#34526c"/><stop offset="71.43%" stop-color="#324e67"/><stop offset="78.57%" stop-color="#2f4a61"/><stop offset="85.71%" stop-color="#2d465c"/><stop offset="92.86%" stop-color="#2a4256"/><stop offset="100%" stop-color="#283e51"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "dark-skies": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.294,
            0.475,
            0.631
          ],
          "hex": "#4b79a1"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.157,
            0.243,
            0.318
          ],
          "hex": "#283e51"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #4b79a1 0%, #283e51 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Dark Skies",
        "contrast": {
          "white": {
            "ratio": 4.617,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "black": {
            "ratio": 1.898,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Dark Skies (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 Dark Skies gradient (#4b79a1, #283e51), 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