Ocean is one of the color families shipped with this release. Deep marine blue..
Shades#
50100200300400500600700800900950
Palette table#
| Shade | Class fragment | Value | Best role |
|---|---|---|---|
50 | ocean-50 | #2b6f8f | Lightest tint — page backgrounds, subtle fills, hover backgrounds for rows and list items. |
100 | ocean-100 | #2b6f8f | Very light — section backgrounds, badges on light UI, tinted code blocks. |
200 | ocean-200 | #2b6f8f | Light — borders on light themes, dividers with personality, chip backgrounds. |
300 | ocean-300 | #2b6f8f | Soft — secondary borders, disabled states with color, placeholder decorations. |
400 | ocean-400 | #2b6f8f | Medium-light — icons on dark surfaces, decorative accents, chart lines. |
500 | ocean-500 | #2b6f8f | The primary step — buttons, links, brand fills, key interactive elements. |
600 | ocean-600 | #2b6f8f | Hover step — hover states for 500 elements, or primary on very light UIs. |
700 | ocean-700 | #2b6f8f | Active step — pressed states, emphasized text on light tinted backgrounds. |
800 | ocean-800 | #2b6f8f | Dark — text on light palettes, headers in tinted sections, dark UI fills. |
900 | ocean-900 | #2b6f8f | Very dark — deep section backgrounds, high-contrast text carriers. |
950 | ocean-950 | #2b6f8f | Darkest — near-black tinted backgrounds, hero surfaces, footer tones. |
Use it#
<div class="bg-ocean-500 text-white p-6 rounded-xl">Ocean surface</div>
<p class="text-ocean-600 dark:text-ocean-400">Adaptive text</p>
<div class="border border-ocean-200 dark:border-ocean-800 bg-ocean-50 dark:bg-ocean-950 p-4 rounded-lg">Panel</div>Per-usage guides#
Ocean textstext-ocean-* in practice.Ocean backgroundsbg-ocean-* in practice.Ocean bordersborder-ocean-* in practice.Ocean gradientsfrom-ocean-* in practice.
Contrast#
Flip point: shades 50–400 want dark text (text-slate-900); shades 500+ want white text. Verify with the accessibility/color-contrast|contrast guide.
Related palettes#
colors/earth|earth · colors/sunset|sunset · colors/color-pairing|Pairing recipes
