Export

Code

/* Black Square — colorset.net */
:root {
  --color-1: #141516;
  --color-2: #3E6DE0;
  --color-3: #E9483B;
  --color-4: #34363A;
  --color-5: #F3EEE4;

  --color-bg: #F3EEE4;
  --color-surface: #F8F5EF;
  --color-border: #DCD5C8;
  --color-text: #141516;
  --color-muted: #656768;
  --color-primary: #DB392E;
  --color-on-primary: #FFFFFF;
  --color-accent: #3E6DE0;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #141516;
    --color-surface: #1E1F20;
    --color-border: #313538;
    --color-text: #F3EEE4;
    --color-muted: #8E8A80;
    --color-primary: #DB392E;
    --color-on-primary: #FFFFFF;
    --color-accent: #3E6DE0;
    --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
Backgroundfrom palette · color 5from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #E9483Badjusted for contrast · from #E9483B
On primaryderivedderived
Accentfrom palette · color 2from palette · color 2
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background15.81:1AAA pass 4.5:1
Text on surface16.80:1AAA pass 4.5:1
Muted text on background4.92:1AA pass 4.5:1
Label on primary4.53:1AA pass 4.5:1
Label on accent4.70:1AA pass 4.5:1
Primary on background3.92:1AA Large pass 3:1
Accent on background4.06:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background15.81:1AAA pass 4.5:1
Text on surface14.28:1AAA pass 4.5:1
Muted text on background5.31:1AA pass 4.5:1
Label on primary4.53:1AA pass 4.5:1
Label on accent4.70:1AA pass 4.5:1
Primary on background4.04:1AA Large pass 3:1
Accent on background3.89: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#141516 (Text 1)#3E6DE0 (Text 2)#E9483B (Text 3)#34363A (Text 4)#F3EEE4 (Text 5)
#141516Same color3.89AA Large4.75AA1.51—15.81AAA
#3E6DE03.89AA LargeSame color1.22—2.58—4.06AA Large
#E9483B4.75AA1.22—Same color3.14AA Large3.33AA Large
#34363A1.51—2.58—3.14AA LargeSame color10.47AAA
#F3EEE415.81AAA4.06AA Large3.33AA Large10.47AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#141516#3E6DE0#E9483B#34363A#F3EEE4

Variations

About Black Square

Ink black, a strong blue and a red square, stark and geometric. Black Square is a balanced multi-color palette of 5 colors that runs from off-white #F3EEE4 to near-black #141516. The hues range across 124° of the wheel, pairing vivid blue #3E6DE0 with vivid red for lively contrast. Lightness runs from 20% to 95% (OKLCH), with #3E6DE0 in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.081, peaking at 0.200 in #E9483B); the colors feel soft and muted. Text contrast reaches 15.8:1 in light mode and 15.8:1 in dark mode, with #DB392E as primary and #3E6DE0 as accent. Its high-contrast character, led by #E9483B, suits brand systems with many sub-brands, marketing pages and illustration.

Black Square color palette: #141516, #3E6DE0, #E9483B, #34363A, #F3EEE4
Share image for Black Square

Gradients in similar colors