#338BD2 is a mid-toned, cool indigo. On the Color Lab it reads clean and engineered. It carries a legible label as a UI accent and sits well as a supporting tone.
Not just a swatch — here's how #338BD2 works with other colors. Named schemes with #338BD2 in its natural role, and a note on why the supporting colors balance it.
Ocean Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Ocean Blue is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Ocean Blue.
Ocean Blue plays the worn-leather lead, deepened by saddle brown and an oxblood anchor, softened by aged cream and cooled by a muted forest green.
Ocean Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Ocean Blue is the single accent in this high-contrast editorial system — set on near-white paper against near-black ink, with a warm grey and a desaturated tint of Ocean Blue carrying the quiet middle.
How #338BD2 actually behaves in design work — read from its OKLCH lightness, chroma and hue, not just its raw numbers. Ten signals to help you decide where this color earns its place.
Not a swatch to memorise — a color to build with. Here is #338BD2 at work across the surfaces designers actually ship.
:root {
--color-base: #338BD2;
--color-base-rgb: 51 139 210;
--color-base-oklch: oklch(61.8% 0.136 246.9);
--color-50: #F2F8FD;
--color-100: #DDECF8;
--color-200: #BCD9F0;
--color-300: #8EBCE1;
--color-400: #649ECE;
--color-500: #4280B3;
--color-600: #396589;
--color-700: #2E4A61;
--color-800: #213240;
--color-900: #161F27;
--color-on-base: #141310;
}
// tailwind.config.js
colors: {
ocean-blue: {
50: '#F2F8FD',
100: '#DDECF8',
200: '#BCD9F0',
300: '#8EBCE1',
400: '#649ECE',
500: '#4280B3',
600: '#396589',
700: '#2E4A61',
800: '#213240',
900: '#161F27',
},
}
$base: #338BD2; $base-ink: #141310; $base-50: #F2F8FD; $base-100: #DDECF8; $base-200: #BCD9F0; $base-300: #8EBCE1; $base-400: #649ECE; $base-500: #4280B3; $base-600: #396589; $base-700: #2E4A61; $base-800: #213240; $base-900: #161F27; $base-hover: #256FAB; $base-subtle: #C7DBEC;
{
"color": {
"base": {
"value": "#338BD2",
"type": "color"
},
"onBase": {
"value": "#141310",
"type": "color"
},
"scale": {
"50": {
"value": "#F2F8FD",
"type": "color"
},
"100": {
"value": "#DDECF8",
"type": "color"
},
"200": {
"value": "#BCD9F0",
"type": "color"
},
"300": {
"value": "#8EBCE1",
"type": "color"
},
"400": {
"value": "#649ECE",
"type": "color"
},
"500": {
"value": "#4280B3",
"type": "color"
},
"600": {
"value": "#396589",
"type": "color"
},
"700": {
"value": "#2E4A61",
"type": "color"
},
"800": {
"value": "#213240",
"type": "color"
},
"900": {
"value": "#161F27",
"type": "color"
}
}
}
}