#0C5CD4 is a mid-toned, cool violet. On the Color Lab it reads clean and engineered, bold and ownable. It carries a legible label as a UI accent and sits well as a supporting tone.
Not just a swatch — here's how #0C5CD4 works with other colors. Named schemes with #0C5CD4 in its natural role, and a note on why the supporting colors balance it.
Denim 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 Denim Blue.
Denim Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Denim Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Denim 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 Denim Blue carrying the quiet middle.
Denim Blue glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #0C5CD4 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 #0C5CD4 at work across the surfaces designers actually ship.
:root {
--color-base: #0C5CD4;
--color-base-rgb: 12 92 212;
--color-base-oklch: oklch(50.8% 0.198 260.0);
--color-50: #F0F6FE;
--color-100: #D8E7FD;
--color-200: #B2CFFA;
--color-300: #7EACF1;
--color-400: #4F8AE3;
--color-500: #2C6BC9;
--color-600: #2A5698;
--color-700: #23406B;
--color-800: #1B2C46;
--color-900: #131C2B;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
denim-blue: {
50: '#F0F6FE',
100: '#D8E7FD',
200: '#B2CFFA',
300: '#7EACF1',
400: '#4F8AE3',
500: '#2C6BC9',
600: '#2A5698',
700: '#23406B',
800: '#1B2C46',
900: '#131C2B',
},
}
$base: #0C5CD4; $base-ink: #FFFFFF; $base-50: #F0F6FE; $base-100: #D8E7FD; $base-200: #B2CFFA; $base-300: #7EACF1; $base-400: #4F8AE3; $base-500: #2C6BC9; $base-600: #2A5698; $base-700: #23406B; $base-800: #1B2C46; $base-900: #131C2B; $base-hover: #0A4AAA; $base-subtle: #B7CEF1;
{
"color": {
"base": {
"value": "#0C5CD4",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F6FE",
"type": "color"
},
"100": {
"value": "#D8E7FD",
"type": "color"
},
"200": {
"value": "#B2CFFA",
"type": "color"
},
"300": {
"value": "#7EACF1",
"type": "color"
},
"400": {
"value": "#4F8AE3",
"type": "color"
},
"500": {
"value": "#2C6BC9",
"type": "color"
},
"600": {
"value": "#2A5698",
"type": "color"
},
"700": {
"value": "#23406B",
"type": "color"
},
"800": {
"value": "#1B2C46",
"type": "color"
},
"900": {
"value": "#131C2B",
"type": "color"
}
}
}
}