Named gradient · uiGradients

Evening Night

Evening Night is a blue gradient from uiGradients (MIT) — #005aa7 → #fffde4 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 3.02:1 · AA large
white 1.03 failsblack 3.02 AA largebanding 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.

sRGB19%
OKLab15%
OKLCH37%

Report

  • white ink: worst 1.03:1 at 100% (fails AA); black ink: worst 3.02:1 at 0% (AA-large only) → use black text.
  • Body text fails AA everywhere on this gradient; large text (≥24px / 19px bold) is fine. Add a scrim or lower the chroma for body copy.
  • White text disappears completely at 100% (1.00:1 crossing).
  • Banding medium: ~6px bands at 1440px — add grain 9 (≈1% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #005aa7 0%, #2066ac 7.14%, #3472b2 14.29%, #467eb7 21.43%, #5789bc 28.57%, #6895c1 35.71%, #78a0c5 42.86%, #89acca 50%, #99b7ce 57.14%, #aac3d2 64.29%, #bbced6 71.43%, #ccdada 78.57%, #dde6dd 85.71%, #eef1e1 92.86%, #fffde4 100%);
  background-image: linear-gradient(90deg in oklab, #005aa7 0%, #fffde4 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#005aa7] to-[#fffde4]
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="#005aa7"/><stop offset="7.14%" stop-color="#2066ac"/><stop offset="14.29%" stop-color="#3472b2"/><stop offset="21.43%" stop-color="#467eb7"/><stop offset="28.57%" stop-color="#5789bc"/><stop offset="35.71%" stop-color="#6895c1"/><stop offset="42.86%" stop-color="#78a0c5"/><stop offset="50%" stop-color="#89acca"/><stop offset="57.14%" stop-color="#99b7ce"/><stop offset="64.29%" stop-color="#aac3d2"/><stop offset="71.43%" stop-color="#bbced6"/><stop offset="78.57%" stop-color="#ccdada"/><stop offset="85.71%" stop-color="#dde6dd"/><stop offset="92.86%" stop-color="#eef1e1"/><stop offset="100%" stop-color="#fffde4"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "evening-night": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0,
            0.353,
            0.655
          ],
          "hex": "#005aa7"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            1,
            0.992,
            0.894
          ],
          "hex": "#fffde4"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #005aa7 0%, #fffde4 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Evening Night",
        "contrast": {
          "white": {
            "ratio": 1.028,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 3.02,
            "at": 0,
            "passesAA": false,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Evening Night (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 Evening Night gradient (#005aa7, #fffde4), 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