Named gradient · uiGradients
Royal Blue
Royal Blue is a blue gradient from uiGradients (MIT) — #536976 → #292e49 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 5.75:1 at 0% (AA); black ink: worst 1.58:1 at 100% (fails AA) → use white text.
- Banding high: ~24px bands at 1440px — add grain 46 (≈3% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #536976 0%, #506573 7.14%, #4d606f 14.29%, #4a5c6c 21.43%, #465869 28.57%, #435366 35.71%, #404f63 42.86%, #3d4b5f 50%, #3a475c 57.14%, #374259 64.29%, #343e56 71.43%, #323a52 78.57%, #2f364f 85.71%, #2c324c 92.86%, #292e49 100%);
background-image: linear-gradient(90deg in oklab, #536976 0%, #292e49 100%);
}bg-linear-to-r/oklab from-[#536976] to-[#292e49]
<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="#536976"/><stop offset="7.14%" stop-color="#506573"/><stop offset="14.29%" stop-color="#4d606f"/><stop offset="21.43%" stop-color="#4a5c6c"/><stop offset="28.57%" stop-color="#465869"/><stop offset="35.71%" stop-color="#435366"/><stop offset="42.86%" stop-color="#404f63"/><stop offset="50%" stop-color="#3d4b5f"/><stop offset="57.14%" stop-color="#3a475c"/><stop offset="64.29%" stop-color="#374259"/><stop offset="71.43%" stop-color="#343e56"/><stop offset="78.57%" stop-color="#323a52"/><stop offset="85.71%" stop-color="#2f364f"/><stop offset="92.86%" stop-color="#2c324c"/><stop offset="100%" stop-color="#292e49"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"royal-blue": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.325,
0.412,
0.463
],
"hex": "#536976"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.161,
0.18,
0.286
],
"hex": "#292e49"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #536976 0%, #292e49 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Royal Blue",
"contrast": {
"white": {
"ratio": 5.753,
"at": 0,
"passesAA": true,
"passesAALarge": true
},
"black": {
"ratio": 1.581,
"at": 1,
"passesAA": false,
"passesAALarge": false
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Royal Blue (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 Blue gradient (#536976, #292e49), 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