Export

Code

/* Pencil Case — colorset.net */
:root {
  --color-1: #F8F7F3;
  --color-2: #2E5BFF;
  --color-3: #FF6B3D;
  --color-4: #FFD166;
  --color-5: #1F2333;

  --color-bg: #F8F7F3;
  --color-surface: #EFEEEA;
  --color-border: #D7D5CE;
  --color-text: #1F2333;
  --color-muted: #666B7E;
  --color-primary: #2E5BFF;
  --color-on-primary: #FFFFFF;
  --color-accent: #967100;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1F2333;
    --color-surface: #2A2E3F;
    --color-border: #3F4458;
    --color-text: #F8F7F3;
    --color-muted: #989793;
    --color-primary: #3B6AFF;
    --color-on-primary: #000000;
    --color-accent: #FFD166;
    --color-on-accent: #1F2333;
  }
}

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 1from palette · color 5
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 5from palette · color 1
Muted textderivedderived
Primaryfrom palette · color 2adjusted for contrast · from #2E5BFF
On primaryderivedderived
Accentadjusted for contrast · from #FF6B3Dfrom palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background14.55:1AAA pass 4.5:1
Text on surface13.43:1AAA pass 4.5:1
Muted text on background4.94:1AA pass 4.5:1
Label on primary5.18:1AA pass 4.5:1
Label on accent4.51:1AA pass 4.5:1
Primary on background4.83:1AA pass 3:1
Accent on background4.20:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background14.55:1AAA pass 4.5:1
Text on surface12.55:1AAA pass 4.5:1
Muted text on background5.33:1AA pass 4.5:1
Label on primary4.69:1AA pass 4.5:1
Label on accent10.82:1AAA pass 4.5:1
Primary on background3.48:1AA Large pass 3:1
Accent on background10.82: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#F8F7F3 (Text 1)#2E5BFF (Text 2)#FF6B3D (Text 3)#FFD166 (Text 4)#1F2333 (Text 5)
#F8F7F3Same color4.83AA2.64—1.35—14.55AAA
#2E5BFF4.83AASame color1.83—3.59AA Large3.01AA Large
#FF6B3D2.64—1.83—Same color1.96—5.51AA
#FFD1661.35—3.59AA Large1.96—Same color10.82AAA
#1F233314.55AAA3.01AA Large5.51AA10.82AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#F8F7F3#2E5BFF#FF6B3D#FFD166#1F2333

Variations

About Pencil Case

Ballpoint blue, marker orange and sticky-note yellow for a lively course marketplace. Pencil Case is a balanced multi-color palette of 5 colors that runs from white #F8F7F3 to charcoal #1F2333. A 180° hue spread puts vivid blue against pale yellow #FFD166, close to a complementary contrast. Lightness runs from 26% to 98% (OKLCH), with #FF6B3D in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is medium (mean OKLCH chroma 0.122, peaking at 0.247 in #2E5BFF); the colors are clear without being loud. As a UI theme it uses #2E5BFF for primary actions and #967100 as the accent; dark mode sits on #1F2333 with #F8F7F3 text (14.5:1). With #2E5BFF leading, good fits include educational content, infographics and kids’ apps.

Pencil Case color palette: #F8F7F3, #2E5BFF, #FF6B3D, #FFD166, #1F2333
Share image for Pencil Case

Gradients in similar colors