Cobalt Night

Export

Code

/* Cobalt Night — colorset.net */
:root {
  --color-1: #002366;
  --color-2: #003980;
  --color-3: #004F99;
  --color-4: #0065B3;
  --color-5: #007BCC;

  --color-bg: #F1F8FF;
  --color-surface: #E3EFFB;
  --color-border: #C9D7E5;
  --color-text: #0E2756;
  --color-muted: #5D6B82;
  --color-primary: #0078C7;
  --color-on-primary: #FFFFFF;
  --color-accent: #003980;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #070F1F;
    --color-surface: #10192A;
    --color-border: #222E42;
    --color-text: #8CA8C3;
    --color-muted: #70859A;
    --color-primary: #0078C7;
    --color-on-primary: #FFFFFF;
    --color-accent: #3D65AE;
    --color-on-accent: #FFFFFF;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundadjusted for contrast · from #007BCCadjusted for contrast · from #002366
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #002366adjusted for contrast · from #007BCC
Muted textderivedderived
Primaryadjusted for contrast · from #007BCCadjusted for contrast · from #007BCC
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #0065B3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background13.59:1AAA pass 4.5:1
Text on surface12.48:1AAA pass 4.5:1
Muted text on background5.04:1AA pass 4.5:1
Label on primary4.65:1AA pass 4.5:1
Label on accent11.07:1AAA pass 4.5:1
Primary on background4.35:1AA Large pass 3:1
Accent on background10.34:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.75:1AAA pass 4.5:1
Text on surface7.12:1AAA pass 4.5:1
Muted text on background5.02:1AA pass 4.5:1
Label on primary4.65:1AA pass 4.5:1
Label on accent5.72:1AA pass 4.5:1
Primary on background4.11:1AA Large pass 3:1
Accent on background3.35:1AA Large pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#002366 (Text 1)#003980 (Text 2)#004F99 (Text 3)#0065B3 (Text 4)#007BCC (Text 5)
#002366Same color1.32—1.80—2.45—3.29AA Large
#0039801.32—Same color1.36—1.85—2.48—
#004F991.80—1.36—Same color1.36—1.82—
#0065B32.45—1.85—1.36—Same color1.34—
#007BCC3.29AA Large2.48—1.82—1.34—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#002366#003980#004F99#0065B3#007BCC

Variations

About Cobalt Night

Cobalt Night brings together a deep blue, two dark blues and two blues (#002366, #003980, #004F99, #0065B3, #007BCC) in a cool, blue-led scheme. All hues sit within 13° of each other, so deep blue #002366 and its relatives form a cohesive monochromatic scheme. From #002366 to #007BCC the colors share a similar mid-tone value (lightness 29%–57%), which suits fills and illustration more than body text. Average chroma is 0.139, medium for a palette, so the colors are clear without being loud; the most saturated color is #007BCC. In light mode #F1F8FF becomes the background with #0E2756 text at 13.6:1, and #0078C7 takes the primary role. Try it for SaaS dashboards, fintech and banking apps and healthcare interfaces, letting blue #007BCC carry the key actions.

Cobalt Night color palette: #002366, #003980, #004F99, #0065B3, #007BCC
Share image for Cobalt Night

Gradients in similar colors