Midnight navy, foam-white text, coral and lagoon teal. The open sea after dark.
A deep-water navy keeps the page immersive, while two warm-and-cool accents, coral and lagoon teal, give products and calls to action somewhere to shine. Space Grotesk adds a technical, slightly quirky voice to headings, and DM Sans keeps body copy friendly.
Click any swatch to copy its hex code.
Worked out when the site is built, using the WCAG 2 formula.
AAA ≥ 7:1 and AA ≥ 4.5:1 for normal text. AA Large ≥ 3:1 is enough for large headings, icons and button shapes.
Every font is self-hosted, so pages load without calling a third-party font service.
Small rooms full of light
Good body type disappears: you stop noticing letters and start reading the story they carry.
const palette = "ocean"; // 0O 1lI =>
Headings, links, quotes, code, buttons and cards together.
Colour is never just decoration. A background sets the temperature of a room before a single word is read, and an accent tells the eye where to go next. Choose them together and a site starts to feel like a place.
A palette is a promise about how a page will feel.
// apply the palette const root = document.querySelector("html"); root.dataset.lbTheme = "ocean";
Paste into your own project. The font names match the files listed on the Credits page.
/* Ocean: Midnight navy, foam-white text, coral and lagoon teal. The open sea after dark. */
:root {
--color-bg: #0B1D2E;
--color-bg-alt: #12293F;
--color-surface: #081624;
--color-text: #DCE8F2;
--color-heading: #F2F8FC;
--color-muted: #93AABF;
--color-accent: #FF7F66;
--color-accent-2: #4FD1C5;
--color-link: #6CC4FF;
--color-border: #1F3B57;
--color-on-accent: #0B1D2E;
--font-heading: 'Space Grotesk', system-ui, sans-serif;
--font-body: 'DM Sans', system-ui, sans-serif;
--font-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}/* Ocean for Tailwind CSS 4. Use as bg-canvas, text-ink, border-line, font-heading ... */
@import "tailwindcss";
@theme {
--color-canvas: #0B1D2E;
--color-canvas-alt: #12293F;
--color-surface: #081624;
--color-ink: #DCE8F2;
--color-heading: #F2F8FC;
--color-muted: #93AABF;
--color-accent: #FF7F66;
--color-accent-2: #4FD1C5;
--color-link: #6CC4FF;
--color-line: #1F3B57;
--color-on-accent: #0B1D2E;
--font-heading: 'Space Grotesk', system-ui, sans-serif;
--font-body: 'DM Sans', system-ui, sans-serif;
--font-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}{
"colors": {
"accent": "#FF7F66",
"accent2": "#4FD1C5",
"bg": "#0B1D2E",
"bgAlt": "#12293F",
"border": "#1F3B57",
"heading": "#F2F8FC",
"link": "#6CC4FF",
"muted": "#93AABF",
"onAccent": "#0B1D2E",
"surface": "#081624",
"text": "#DCE8F2"
},
"fonts": {
"body": "DM Sans",
"heading": "Space Grotesk",
"mono": "JetBrains Mono"
},
"mode": "dark",
"name": "Ocean"
}<!-- Apply Ocean to a Lightbi site -->
<html data-lb-theme="ocean">
<!-- Or link to this page wearing it -->
https://lightbi-palettes.netlify.app/?palette=ocean