Export

Code

/* Cobalt Azure — colorset.net */
:root {
  --color-1: #0F52BA;
  --color-2: #003F7F;
  --color-3: #0066CC;
  --color-4: #4169E1;
  --color-5: #6495ED;

  --color-bg: #F2F7FF;
  --color-surface: #E6EEFB;
  --color-border: #CCD5E6;
  --color-text: #1B416F;
  --color-muted: #5B6C82;
  --color-primary: #4169E1;
  --color-on-primary: #FFFFFF;
  --color-accent: #0F52BA;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #05101E;
    --color-surface: #0E1A29;
    --color-border: #202F42;
    --color-text: #95A7C6;
    --color-muted: #76849C;
    --color-primary: #4169E1;
    --color-on-primary: #FFFFFF;
    --color-accent: #3068AB;
    --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 #6495EDadjusted for contrast · from #003F7F
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #003F7Fadjusted for contrast · from #6495ED
Muted textderivedderived
Primaryfrom palette · color 4from palette · color 4
On primaryderivedderived
Accentfrom palette · color 1adjusted for contrast · from #0066CC
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background9.61:1AAA pass 4.5:1
Text on surface8.85:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary4.85:1AA pass 4.5:1
Label on accent7.15:1AAA pass 4.5:1
Primary on background4.51:1AA pass 3:1
Accent on background6.65:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.84:1AAA pass 4.5:1
Text on surface7.19:1AAA pass 4.5:1
Muted text on background5.05:1AA pass 4.5:1
Label on primary4.85:1AA pass 4.5:1
Label on accent5.69:1AA pass 4.5:1
Primary on background3.94:1AA Large pass 3:1
Accent on background3.36: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#0F52BA (Text 1)#003F7F (Text 2)#0066CC (Text 3)#4169E1 (Text 4)#6495ED (Text 5)
#0F52BASame color1.46—1.28—1.48—2.41—
#003F7F1.46—Same color1.87—2.15—3.50AA Large
#0066CC1.28—1.87—Same color1.15—1.87—
#4169E11.48—2.15—1.15—Same color1.63—
#6495ED2.41—3.50AA Large1.87—1.63—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#0F52BA#003F7F#0066CC#4169E1#6495ED

Variations

About Cobalt Azure

Cobalt Azure is a cool blue palette of 5 colors that runs from blue #6495ED to dark blue #003F7F. With a hue spread of just 12°, it is effectively monochromatic: #0F52BA, #003F7F and #0066CC differ mostly in lightness. Lightness spans 37% (#003F7F) to 67% (#6495ED), a moderate range; text roles may need slight darkening for full contrast. Saturation is high (mean OKLCH chroma 0.161, peaking at 0.188 in #4169E1); the colors feel saturated and energetic. In light mode #F2F7FF becomes the background with #1B416F text at 9.6:1, and #4169E1 takes the primary role. Its vivid and monochrome character, led by #4169E1, suits festival branding, bold landing pages and posters.

Cobalt Azure color palette: #0F52BA, #003F7F, #0066CC, #4169E1, #6495ED
Share image for Cobalt Azure

Gradients in similar colors