Named gradient · uiGradients
Royal
Royal is a blue gradient from uiGradients (MIT) — #141e30 → #243b55 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.
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.
Report
- white ink: worst 11.46:1 at 100% (AA); black ink: worst 1.26:1 at 0% (fails AA) → use white text.
- Banding high: ~39px bands at 1440px — add grain 50 (≈3% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #141e30 0%, #152033 7.14%, #162235 14.29%, #172438 21.43%, #19263a 28.57%, #1a283d 35.71%, #1b2a3f 42.86%, #1c2c42 50%, #1d2e45 57.14%, #1e3047 64.29%, #1f324a 71.43%, #21354d 78.57%, #223750 85.71%, #233952 92.86%, #243b55 100%);
background-image: linear-gradient(90deg in oklab, #141e30 0%, #243b55 100%);
}bg-linear-to-r/oklab from-[#141e30] to-[#243b55]
<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="#141e30"/><stop offset="7.14%" stop-color="#152033"/><stop offset="14.29%" stop-color="#162235"/><stop offset="21.43%" stop-color="#172438"/><stop offset="28.57%" stop-color="#19263a"/><stop offset="35.71%" stop-color="#1a283d"/><stop offset="42.86%" stop-color="#1b2a3f"/><stop offset="50%" stop-color="#1c2c42"/><stop offset="57.14%" stop-color="#1d2e45"/><stop offset="64.29%" stop-color="#1e3047"/><stop offset="71.43%" stop-color="#1f324a"/><stop offset="78.57%" stop-color="#21354d"/><stop offset="85.71%" stop-color="#223750"/><stop offset="92.86%" stop-color="#233952"/><stop offset="100%" stop-color="#243b55"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"royal": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.078,
0.118,
0.188
],
"hex": "#141e30"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.141,
0.231,
0.333
],
"hex": "#243b55"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #141e30 0%, #243b55 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Royal",
"contrast": {
"white": {
"ratio": 11.464,
"at": 1,
"passesAA": true,
"passesAALarge": true
},
"black": {
"ratio": 1.258,
"at": 0,
"passesAA": false,
"passesAALarge": false
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Royal (uiGradients, MIT), rendered in OKLab."
}
}Tagged
More blue gradients
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.
https://mcp.brandsweets.com/gradients/mcpclaude mcp add --transport http brandsweets-gradients https://mcp.brandsweets.com/gradients/mcp
›take the Royal gradient (#141e30, #243b55), 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