Named gradient · uiGradients
Between Night and Day
Between Night and Day is a blue gradient from uiGradients (MIT) — #2c3e50 → #3498db 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 3.15:1 at 100% (AA-large only); black ink: worst 1.91:1 at 0% (fails AA) → use white 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.
- Banding medium: ~10px bands at 1440px — add grain 21 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #2c3e50 0%, #2e4459 7.14%, #2f4a62 14.29%, #30506c 21.43%, #325675 28.57%, #335d7f 35.71%, #346389 42.86%, #346993 50%, #35709d 57.14%, #3576a7 64.29%, #357db1 71.43%, #3584bb 78.57%, #358ac6 85.71%, #3591d0 92.86%, #3498db 100%);
background-image: linear-gradient(90deg in oklab, #2c3e50 0%, #3498db 100%);
}bg-linear-to-r/oklab from-[#2c3e50] to-[#3498db]
<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="#2c3e50"/><stop offset="7.14%" stop-color="#2e4459"/><stop offset="14.29%" stop-color="#2f4a62"/><stop offset="21.43%" stop-color="#30506c"/><stop offset="28.57%" stop-color="#325675"/><stop offset="35.71%" stop-color="#335d7f"/><stop offset="42.86%" stop-color="#346389"/><stop offset="50%" stop-color="#346993"/><stop offset="57.14%" stop-color="#35709d"/><stop offset="64.29%" stop-color="#3576a7"/><stop offset="71.43%" stop-color="#357db1"/><stop offset="78.57%" stop-color="#3584bb"/><stop offset="85.71%" stop-color="#358ac6"/><stop offset="92.86%" stop-color="#3591d0"/><stop offset="100%" stop-color="#3498db"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"between-night-and-day": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.173,
0.243,
0.314
],
"hex": "#2c3e50"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.204,
0.596,
0.859
],
"hex": "#3498db"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #2c3e50 0%, #3498db 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Between Night and Day",
"contrast": {
"white": {
"ratio": 3.153,
"at": 1,
"passesAA": false,
"passesAALarge": true
},
"black": {
"ratio": 1.912,
"at": 0,
"passesAA": false,
"passesAALarge": false
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Between Night and Day (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 Between Night and Day gradient (#2c3e50, #3498db), 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