#338CB3 is a mid-toned, cool blue. 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 #338CB3 works with other colors. Named schemes with #338CB3 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 #338CB3 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 #338CB3 at work across the surfaces designers actually ship.
:root {
--color-base: #338CB3;
--color-base-rgb: 51 140 179;
--color-base-oklch: oklch(60.4% 0.102 230.9);
--color-50: #F3F9FC;
--color-100: #DFEFF7;
--color-200: #BFDFED;
--color-300: #93C6DC;
--color-400: #6BACC7;
--color-500: #498EAC;
--color-600: #3E6F84;
--color-700: #31505E;
--color-800: #23363E;
--color-900: #172226;
--color-on-base: #141310;
}
// tailwind.config.js
colors: {
ocean-blue: {
50: '#F3F9FC',
100: '#DFEFF7',
200: '#BFDFED',
300: '#93C6DC',
400: '#6BACC7',
500: '#498EAC',
600: '#3E6F84',
700: '#31505E',
800: '#23363E',
900: '#172226',
},
}
$base: #338CB3; $base-ink: #141310; $base-50: #F3F9FC; $base-100: #DFEFF7; $base-200: #BFDFED; $base-300: #93C6DC; $base-400: #6BACC7; $base-500: #498EAC; $base-600: #3E6F84; $base-700: #31505E; $base-800: #23363E; $base-900: #172226; $base-hover: #28708F; $base-subtle: #C3DCE7;
{
"color": {
"base": {
"value": "#338CB3",
"type": "color"
},
"onBase": {
"value": "#141310",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F9FC",
"type": "color"
},
"100": {
"value": "#DFEFF7",
"type": "color"
},
"200": {
"value": "#BFDFED",
"type": "color"
},
"300": {
"value": "#93C6DC",
"type": "color"
},
"400": {
"value": "#6BACC7",
"type": "color"
},
"500": {
"value": "#498EAC",
"type": "color"
},
"600": {
"value": "#3E6F84",
"type": "color"
},
"700": {
"value": "#31505E",
"type": "color"
},
"800": {
"value": "#23363E",
"type": "color"
},
"900": {
"value": "#172226",
"type": "color"
}
}
}
}