Named gradient · uiGradients
Dark Ocean
Dark Ocean is a blue gradient from uiGradients (MIT) — #373b44 → #4286f4 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.53:1 at 100% (AA-large only); black ink: worst 1.87: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: ~8px bands at 1440px — add grain 16 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #373b44 0%, #394050 7.14%, #3a465b 14.29%, #3b4b67 21.43%, #3c5173 28.57%, #3e567f 35.71%, #3f5b8c 42.86%, #3f6198 50%, #4066a5 57.14%, #416bb2 64.29%, #4171bf 71.43%, #4276cc 78.57%, #427bd9 85.71%, #4281e6 92.86%, #4286f4 100%);
background-image: linear-gradient(90deg in oklab, #373b44 0%, #4286f4 100%);
}bg-linear-to-r/oklab from-[#373b44] to-[#4286f4]
<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="#373b44"/><stop offset="7.14%" stop-color="#394050"/><stop offset="14.29%" stop-color="#3a465b"/><stop offset="21.43%" stop-color="#3b4b67"/><stop offset="28.57%" stop-color="#3c5173"/><stop offset="35.71%" stop-color="#3e567f"/><stop offset="42.86%" stop-color="#3f5b8c"/><stop offset="50%" stop-color="#3f6198"/><stop offset="57.14%" stop-color="#4066a5"/><stop offset="64.29%" stop-color="#416bb2"/><stop offset="71.43%" stop-color="#4171bf"/><stop offset="78.57%" stop-color="#4276cc"/><stop offset="85.71%" stop-color="#427bd9"/><stop offset="92.86%" stop-color="#4281e6"/><stop offset="100%" stop-color="#4286f4"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"dark-ocean": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.216,
0.231,
0.267
],
"hex": "#373b44"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.259,
0.525,
0.957
],
"hex": "#4286f4"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #373b44 0%, #4286f4 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Dark Ocean",
"contrast": {
"white": {
"ratio": 3.531,
"at": 1,
"passesAA": false,
"passesAALarge": true
},
"black": {
"ratio": 1.872,
"at": 0,
"passesAA": false,
"passesAALarge": false
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Dark Ocean (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 Ocean gradient (#373b44, #4286f4), 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