Ocean Fog
Use #D0DCE8 as the background. Use #8AAAC0 as the primary accent. Use #4A7090 as secondary. Use #1A3A50 as body text/supporting color. Palette mood: Ocean Fog — calm, atmospheric, cool.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the Ocean Fog color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).
| Swatch | Design Role | HEX | RGB | CMYK | HSL |
|---|---|---|---|---|---|
| Background Luminance: 70.4% | 208, 220, 232 | 10%, 5%, 0%, 9% | 210°, 34%, 86% | ||
| Primary Accent Luminance: 38.0% | 138, 170, 192 | 28%, 11%, 0%, 25% | 204°, 30%, 65% | ||
| Secondary Luminance: 15.1% | 74, 112, 144 | 49%, 22%, 0%, 44% | 207°, 32%, 43% | ||
| Body Text Luminance: 3.8% | 26, 58, 80 | 68%, 28%, 0%, 69% | 204°, 51%, 21% |
Color Harmony: Analogous Scheme
The Ocean Fog palette is built using a analogous relationship between its hues. This ensures that even with high-contrast accents, the overall scheme feels balanced and intentional.
A analogous palette is often preferred by professional designers because it creates a calm, serene atmosphere by using neighboring colors.
History & Design Context
Best Design Use Cases
Industries This Palette Suits
How to Implement the Ocean Fog Color Scheme
To use this Ocean Fog color palette in your web project, you can copy the following CSS variables or Tailwind CSS configuration. These roles ensure your UI maintains accessibility and visual hierarchy.
Option 1: CSS Variables
:root {
/* {name} Palette - ihatecolors.com */{'
'} --color-bg: {colors[0]};{'
'} --color-primary: {colors[1]};{'
'} --color-secondary: {colors[2]};{'
'} --color-text: {colors[3]};{'
'} {'}'} Web Design Tip
Use #D0DCE8 for the main background and #8AAAC0 for primary buttons. This creates a high-contrast focal point.
Accessibility Note
The contrast ratio between #1A3A50 and #D0DCE8 is 8.55:1 (AAA). Ensure your body text remains legible.