Named gradient · uiGradients
Dark Blue Gradient
Dark Blue Gradient is a blue gradient from uiGradients (MIT) — #2774ae → #002e5d → #002e5d 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.00:1 at 0% (AA); black ink: worst 1.55:1 at 50% (fails AA) → use white text.
- Banding medium: ~9px bands at 1440px — add grain 18 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #2774ae 0%, #246fa8 3.57%, #216aa2 7.14%, #1e649c 10.71%, #1b5f96 14.29%, #185a90 17.86%, #14558a 21.43%, #115084 25%, #0e4b7f 28.57%, #0b4679 32.14%, #084173 35.71%, #053c6e 39.29%, #033768 42.86%, #013363 46.43%, #002e5d 50%, #002e5d 53.57%, #002e5d 57.14%, #002e5d 60.71%, #002e5d 64.29%, #002e5d 67.86%, #002e5d 71.43%, #002e5d 75%, #002e5d 78.57%, #002e5d 82.14%, #002e5d 85.71%, #002e5d 89.29%, #002e5d 92.86%, #002e5d 96.43%, #002e5d 100%);
background-image: linear-gradient(90deg in oklab, #2774ae 0%, #002e5d 50%, #002e5d 100%);
}bg-linear-to-r/oklab from-[#2774ae] via-[#002e5d] to-[#002e5d]
<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="#2774ae"/><stop offset="3.57%" stop-color="#246fa8"/><stop offset="7.14%" stop-color="#216aa2"/><stop offset="10.71%" stop-color="#1e649c"/><stop offset="14.29%" stop-color="#1b5f96"/><stop offset="17.86%" stop-color="#185a90"/><stop offset="21.43%" stop-color="#14558a"/><stop offset="25%" stop-color="#115084"/><stop offset="28.57%" stop-color="#0e4b7f"/><stop offset="32.14%" stop-color="#0b4679"/><stop offset="35.71%" stop-color="#084173"/><stop offset="39.29%" stop-color="#053c6e"/><stop offset="42.86%" stop-color="#033768"/><stop offset="46.43%" stop-color="#013363"/><stop offset="50%" stop-color="#002e5d"/><stop offset="53.57%" stop-color="#002e5d"/><stop offset="57.14%" stop-color="#002e5d"/><stop offset="60.71%" stop-color="#002e5d"/><stop offset="64.29%" stop-color="#002e5d"/><stop offset="67.86%" stop-color="#002e5d"/><stop offset="71.43%" stop-color="#002e5d"/><stop offset="75%" stop-color="#002e5d"/><stop offset="78.57%" stop-color="#002e5d"/><stop offset="82.14%" stop-color="#002e5d"/><stop offset="85.71%" stop-color="#002e5d"/><stop offset="89.29%" stop-color="#002e5d"/><stop offset="92.86%" stop-color="#002e5d"/><stop offset="96.43%" stop-color="#002e5d"/><stop offset="100%" stop-color="#002e5d"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"dark-blue-gradient": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.153,
0.455,
0.682
],
"hex": "#2774ae"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0,
0.18,
0.365
],
"hex": "#002e5d"
},
"position": 0.5
},
{
"color": {
"colorSpace": "srgb",
"components": [
0,
0.18,
0.365
],
"hex": "#002e5d"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #2774ae 0%, #002e5d 50%, #002e5d 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Dark Blue Gradient",
"contrast": {
"white": {
"ratio": 5.005,
"at": 0,
"passesAA": true,
"passesAALarge": true
},
"black": {
"ratio": 1.549,
"at": 0.5,
"passesAA": false,
"passesAALarge": false
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Dark Blue Gradient (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 Dark Blue Gradient gradient (#2774ae, #002e5d, #002e5d), 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