Linear Light Color Palette
#FAFAFA · #5B6BFF · #1C1C1F · #8C8C99
Use #FAFAFA as the background. Use #5B6BFF as the primary accent. Use #1C1C1F as secondary. Use #8C8C99 as body text. Palette: Linear Light.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the Linear Light color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).
| Swatch | Design Role | HEX | RGB | CMYK | HSL |
|---|---|---|---|---|---|
| Background Luminance: 95.6% | 250, 250, 250 | 0%, 0%, 0%, 2% | 0°, 0%, 98% | ||
| Large text / UI Luminance: 20.0% | 91, 107, 255 | 64%, 58%, 0%, 0% | 234°, 100%, 68% | ||
| Text · AAA Luminance: 1.2% | 28, 28, 31 | 10%, 10%, 0%, 88% | 240°, 5%, 12% | ||
| Large text / UI Luminance: 26.6% | 140, 140, 153 | 8%, 8%, 0%, 40% | 240°, 6%, 57% |
Linear Light Tints & Shades
Hover states, borders and elevation need lighter and darker steps of your base colors. Here are computed tints and shades for every color in the Linear Light palette — click any swatch to copy its hex.
Linear Light Palette Contrast Matrix (WCAG 2.1)
Every color tested as text on every other color as background. Body copy needs 4.5:1 (AA), large text and UI components 3:1. AAA requires 7:1.
| Text on Background | Preview | Ratio | Grade | Safe For |
|---|---|---|---|---|
| #1C1C1F on #FAFAFA |
Aa Sample Text
| 16.28:1 | AAA | Body text, headings, UI |
| #FAFAFA on #1C1C1F |
Aa Sample Text
| 16.28:1 | AAA | Body text, headings, UI |
| #8C8C99 on #1C1C1F |
Aa Sample Text
| 5.12:1 | AA | Body text, UI |
| #1C1C1F on #8C8C99 |
Aa Sample Text
| 5.12:1 | AA | Body text, UI |
| #1C1C1F on #5B6BFF |
Aa Sample Text
| 4.04:1 | Fail | Large headings, UI components |
| #5B6BFF on #1C1C1F |
Aa Sample Text
| 4.04:1 | Fail | Large headings, UI components |
| #5B6BFF on #FAFAFA |
Aa Sample Text
| 4.03:1 | Fail | Large headings, UI components |
| #FAFAFA on #5B6BFF |
Aa Sample Text
| 4.03:1 | Fail | Large headings, UI components |
| #8C8C99 on #FAFAFA |
Aa Sample Text
| 3.18:1 | Fail | Large headings, UI components |
| #FAFAFA on #8C8C99 |
Aa Sample Text
| 3.18:1 | Fail | Large headings, UI components |
| #8C8C99 on #5B6BFF |
Aa Sample Text
| 1.26:1 | Fail | Decorative use only |
| #5B6BFF on #8C8C99 |
Aa Sample Text
| 1.26:1 | Fail | Decorative use only |
Color Harmony: Single Accent Hue
Only one color carries hue (234°, blue); the other 3 are near-neutral, so the palette's hierarchy is carried by lightness and contrast rather than by hue.
With a single hue, emphasis has to come from contrast and area rather than from hue difference — check the matrix for the specific pair you intend to use.
History & Design Context
Best Design Use Cases
Measured best pair: #1C1C1F on #FAFAFA at 16.28:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.
Industries This Palette Suits
Colors That Pair Well With Linear Light
Need a fifth color? These three companions are computed from the palette's own hue positions on the color wheel, so they extend the scheme without breaking its harmony.
directly opposite #5B6BFF on the wheel — the strongest accent for CTAs and highlights when you need maximum energy
30° beside #5B6BFF — a calm secondary that extends the palette without adding tension
an ink-black carrying the palette's own hue — perfect for surfaces and dividers
Using Linear Light Without Breaking Accessibility
- Use #5B6BFF for buttons and links — it scores 4.03:1 against the #FAFAFA background (above the 3:1 UI-components threshold).
- Don't set body copy in #8C8C99 on #FAFAFA — 3.18:1 fails WCAG AA; keep it for large decorative headings only.
- Let #1C1C1F carry sidebars, cards and footers — at a deep lightness it separates zones without stealing focus from #5B6BFF.
How to Implement the Linear Light Color Scheme
To use this Linear Light color palette in your web project, copy the CSS variables below or open the export panel for Tailwind, SCSS and Figma formats.
Option 1: CSS Variables
:root {
/* Linear Light — ihatecolors */
--color-bg: #FAFAFA;
--color-accent: #5B6BFF;
--color-secondary: #1C1C1F;
--color-text: #8C8C99;
} Web Design Tip
Use #FAFAFA as the page background and #5B6BFF for buttons and large UI — they measure 4.03:1, which clears the 3:1 UI threshold but not 4.5:1, so keep small text out of this pair.
Accessibility Note
#8C8C99 on #FAFAFA measures 3.18:1 — enough for large text and UI components (3:1) but below the 4.5:1 needed for body copy.
Linear Light Palette — Frequently Asked Questions
What are the hex codes in the Linear Light color palette?
The Linear Light palette contains #FAFAFA, #5B6BFF, #1C1C1F, #8C8C99. Click any swatch on this page to copy its value, or export all four at once as CSS variables, Tailwind config, SCSS or a Figma-ready list.
Is the Linear Light color palette accessible (WCAG)?
Yes. #1C1C1F on #FAFAFA reaches 16.28:1, which passes WCAG AAA for normal text (7:1) as well as AA and the 3:1 UI threshold — use it for body copy and controls. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.
What colors go well with the Linear Light palette?
Beyond its own four colors, #FFEF5C, #9F64F7, #151414 extend it naturally: the complementary hue for high-energy accents, an analogous neighbor for calm transitions, and a tinted neutral for surfaces. All three are computed from this palette's hues on the color wheel.
What mood does the Linear Light palette create?
Linear Light reads as clean, minimal, modern. Saturated blue drives the personality, grounded by neutral gray — a combination that works best when the very light base gets most of the canvas.
Can I use the Linear Light color palette commercially?
Yes. Individual color values can't be copyrighted, so the Linear Light palette is free for personal, client and commercial work — websites, branding, apps, print and social content, with no attribution required.
How do I add the Linear Light palette to Tailwind or CSS?
Use the export panel on this page: CSS variables, a Tailwind config block, SCSS variables, or a Figma copy list are generated from Linear Light's exact values, including the tint and shade ramps shown above.