Export

Code

/* Cobalt Blue — colorset.net */
:root {
  --color-1: #0080FF;
  --color-2: #3399FF;
  --color-3: #66B2FF;
  --color-4: #99CCFF;
  --color-5: #CCE5FF;

  --color-bg: #F1F8FF;
  --color-surface: #E7EEF6;
  --color-border: #CCD6E1;
  --color-text: #2B4F7F;
  --color-muted: #5C6C82;
  --color-primary: #0072E4;
  --color-on-primary: #FFFFFF;
  --color-accent: #7289A1;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #05101E;
    --color-surface: #0E1A29;
    --color-border: #202F42;
    --color-text: #CCE5FF;
    --color-muted: #71869B;
    --color-primary: #0072E4;
    --color-on-primary: #FFFFFF;
    --color-accent: #99CCFF;
    --color-on-accent: #05101E;
  }
}

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 #CCE5FFadjusted for contrast · from #0080FF
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #0080FFfrom palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #0080FFadjusted for contrast · from #0080FF
On primaryderivedderived
Accentadjusted for contrast · from #3399FFfrom palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.76:1AAA pass 4.5:1
Text on surface7.10:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary4.64:1AA pass 4.5:1
Label on accent5.81:1AA pass 4.5:1
Primary on background4.33:1AA Large pass 3:1
Accent on background3.38:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background14.75:1AAA pass 4.5:1
Text on surface13.53:1AAA pass 4.5:1
Muted text on background5.08:1AA pass 4.5:1
Label on primary4.64:1AA pass 4.5:1
Label on accent11.31:1AAA pass 4.5:1
Primary on background4.12:1AA Large pass 3:1
Accent on background11.31:1AAA 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#0080FF (Text 1)#3399FF (Text 2)#66B2FF (Text 3)#99CCFF (Text 4)#CCE5FF (Text 5)
#0080FFSame color1.29—1.70—2.25—2.93—
#3399FF1.29—Same color1.31—1.74—2.27—
#66B2FF1.70—1.31—Same color1.33—1.73—
#99CCFF2.25—1.74—1.33—Same color1.30—
#CCE5FF2.93—2.27—1.73—1.30—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#0080FF#3399FF#66B2FF#99CCFF#CCE5FF

Variations

About Cobalt Blue

Nearly all of the color weight in Cobalt Blue sits in blue, which makes it a cool palette anchored by light blue #66B2FF. With a hue spread of just 7°, it is effectively monochromatic: #0080FF, #3399FF and #66B2FF differ mostly in lightness. All five colors stay in a narrow light band (62% to 91% lightness, #0080FF to #CCE5FF), so text and background roles are adjusted for contrast. Saturation is medium (mean OKLCH chroma 0.131, peaking at 0.211 in #0080FF); the colors are clear without being loud. In light mode #F1F8FF becomes the background with #2B4F7F text at 7.8:1, and #0072E4 takes the primary role. With #0080FF leading, good fits include fintech and banking apps, SaaS dashboards and corporate sites.

These colors are almost the same as Azure Coast.

Cobalt Blue color palette: #0080FF, #3399FF, #66B2FF, #99CCFF, #CCE5FF
Share image for Cobalt Blue

Gradients in similar colors