Linear colors

The Linear color palette has 4 colors: Brand blue #5E6AD2, Accent #7170FF, Mercury White #F4F5F8 and Nordic Gray #222326. Below are HEX, RGB, HSL and OKLCH codes, contrast checks, CSS and Tailwind variables, all from official guidelines checked on 16 October 2026.

Linear color codes

Linear brand colors in HEX, RGB, HSL and OKLCH
ColorRoleHEXRGBHSLOKLCH
Brand bluePrimary#5E6AD2rgb(94, 106, 210)hsl(234, 56%, 60%)oklch(56.7% 0.159 275.2)
AccentAccent#7170FFrgb(113, 112, 255)hsl(240, 100%, 72%)oklch(62.3% 0.207 278.8)
Mercury WhiteBackground#F4F5F8rgb(244, 245, 248)hsl(225, 22%, 96%)oklch(97% 0.004 271.4)
Nordic GrayText#222326rgb(34, 35, 38)hsl(225, 6%, 14%)oklch(25.6% 0.006 271.2)

Select a color to open its own page with tints, shades, harmonies and every color format, or open the whole set in the palette generator.

Where the Linear colors come from

These hex values are published by Linear in its own brand guidelines. We fetched the page on 16 October 2026 and copied the values exactly; nothing here is estimated from a logo image.

Mercury White and Nordic Gray are listed with hex values on Linear's brand page. The page describes the primary color as a desaturated blue without a hex, so the brand blue and accent come from Linear's live CSS.

Linear color contrast

White text on Linear brand blue has a contrast ratio of 4.69:1 and passes WCAG AA for body text. Used as a text color, Brand blue reaches 4.69:1 on white and 4.46:1 on black. Ratios are WCAG 2 (truncated, never rounded up); APCA Lc is shown as a second opinion.

White and black text on Linear colors
PairWCAG 2 ratioWCAG 2 resultAPCAAPCA guidance
White on Brand blue4.69:1AALc -77.8Fine for body text
Black on Brand blue4.46:1AA large textLc 31.7Non-text elements, placeholder text
White on Accent3.84:1AA large textLc -71.0Content text, not long reading
Black on Accent5.46:1AALc 38.5Non-text elements, placeholder text
White on Mercury White1.09:1FailsLc 0.0Not readable
Black on Mercury White19.26:1AAALc 100.1Preferred for body text
White on Nordic Gray15.71:1AAALc -105.3Preferred for body text
Black on Nordic Gray1.33:1FailsLc 0.0Not readable
Linear colors on each other
PairWCAG 2 ratioWCAG 2 resultAPCAAPCA guidance
Nordic Gray on Mercury White14.41:1AAALc 96.7Preferred for body text
Brand blue on Mercury White4.31:1AA large textLc 66.4Content text, not long reading
Nordic Gray on Accent4.08:1AA large textLc 35.2Non-text elements, placeholder text
Accent on Mercury White3.52:1AA large textLc 59.6Large or bold text, headings

Linear colors in CSS and Tailwind

Copy the Linear palette as CSS custom properties or as a Tailwind CSS v4 theme. The last snippet is an 11-step Tailwind scale (50 to 950) generated in OKLCH from Brand blue, for hover states, borders and tinted backgrounds.

CSS variables
:root {
  --linear-brand-blue: #5E6AD2;
  --linear-accent: #7170FF;
  --linear-mercury-white: #F4F5F8;
  --linear-nordic-gray: #222326;
}
Tailwind CSS v4 theme
@import "tailwindcss";

@theme {
  --color-linear-brand-blue: #5E6AD2;
  --color-linear-accent: #7170FF;
  --color-linear-mercury-white: #F4F5F8;
  --color-linear-nordic-gray: #222326;
}
Tailwind scale generated from Brand blue #5E6AD2
@theme {
  --color-linear-50: #F3F5FC;
  --color-linear-100: #E6E9F8;
  --color-linear-200: #D1D8F4;
  --color-linear-300: #B3BEEF;
  --color-linear-400: #8C9AE7;
  --color-linear-500: #717FE0;
  --color-linear-600: #5E6AD2;
  --color-linear-700: #4B55B2;
  --color-linear-800: #3D4690;
  --color-linear-900: #343B73;
  --color-linear-950: #1E2343;
}

Named colors closest to the Linear palette

The nearest named color to each brand color, measured as perceptual distance (ΔE OK) in OKLab. Under 0.02 is hard to tell apart; above 0.05 the difference is easy to see.

Brand colorHEXNearest named colorNamed HEXΔE OK
Brand blue#5E6AD2Dark Periwinkle#665FD10.028
Accent#7170FFCornflower#6A79F70.026
Mercury White#F4F5F8White Smoke#F5F5F50.004
Nordic Gray#222326Jet#2125290.007

Palettes like Linear

Curated palettes that include a color close to Linear brand blue #5E6AD2.

How to use a Linear-style palette

  • Lead with Brand blue #5E6AD2 for buttons, links and key highlights, with white text on it.
  • Give most of the layout to Mercury White #F4F5F8 and Nordic Gray #222326, about 60% of the screen, so Brand blue stands out.
  • Keep Accent for small accents (around 10%): status colors, illustrations or charts.
  • As text on a white page, Brand blue reaches 4.69:1: it passes WCAG AA for body text.

To see how linear.app uses these colors today, including backgrounds, text and dark mode, run it through the website color extractor. To turn Brand blue into a full light and dark color system with accessible roles, open it in the Color System Studio.

More brand colors

Trademarks

Frequently asked questions

What is the Linear hex color?

The main Linear color is Brand blue #5E6AD2, which is rgb(94, 106, 210) in RGB. It comes from Linear's own brand guidelines, checked on 16 October 2026.

What colors does Linear use?

Linear uses 4 core colors: Brand blue #5E6AD2, Accent #7170FF, Mercury White #F4F5F8 and Nordic Gray #222326.

What is Linear brand blue in RGB, HSL and OKLCH?

Linear brand blue #5E6AD2 is rgb(94, 106, 210), hsl(234, 56%, 60%) and oklch(56.7% 0.159 275.2). The closest named color is Dark Periwinkle #665FD1.

Should text on Linear brand blue be white or black?

White text reads better on Linear brand blue: it has a contrast ratio of 4.69:1, which passes WCAG AA for body text.

Where do these Linear colors come from?

The hex values were read from Linear's official brand guidelines at https://linear.app/brand on 16 October 2026. Contrast, RGB, HSL and OKLCH values on this page are calculated from those hex codes.

Can I use the Linear colors in my own design?

Colors on their own are not owned, but Linear's name, logo and the way it combines its colors are trademarks. Use these values to match Linear when you refer to it, follow its official guidelines, and do not imply a link to Linear in your own brand.

Use the Linear colors

Check linear.app live, build a color system from Brand blue, or remix the palette.