OKLCH Studio · Accessible palettes · Industries

Accessible color palette for travel (WCAG 2.2 verified)

Updated 2026-10-19

Travel sites combine inspiring imagery with dense, time-sensitive information: flight times, prices, baggage rules, hotel check-in details and cancellation terms. People use them on phones in airports, in sunlight, on weak connections and often in a second language. The palette must hold up in glare as well as in a design file.

Booking flows are long. Date pickers, passenger forms and payment steps each use colour for state: today, selected range, unavailable date, error. Those states need more than a hue difference. This palette provides verified roles for borders, focus rings and status colours, so a calendar can show an unavailable date with a pattern or strike-through as well as a muted colour.

WCAG 2.2 AA is the level most commonly referenced for consumer sites, and several regions apply accessibility rules to transport and booking services. This palette meets AA for each pair and uses AAA for body text. It is not legal advice.

How to build a palette like this by hand is explained in the accessible colour palette guide; this page is the finished, verified result.

The palette: light and dark

Hex values are the sRGB result after gamut mapping. The oklch() values are those of the final hex, so converting either gives the same colour.

Appointment confirmed

Secondary text sits on the surface colour.

Link in primary · Accent text

Primary buttonSuccessWarningErrorInfo

Light theme

  • Background

    #F2F8FA

    oklch(0.975 0.007 219.6)

    Sample text

  • Surface

    #FAFFFF

    oklch(0.996 0.005 197.1)

    Sample text

  • Text

    #171B1E

    oklch(0.219 0.008 240.3)

    Sample text

  • Muted text

    #52595D

    oklch(0.459 0.011 232.6)

    Sample text

  • Primary

    #006F98

    oklch(0.5096 0.1052 232.95)

    Sample text

  • Primary foreground

    #FAFCFD

    oklch(0.990 0.003 228.8)

    Sample text

  • Accent

    #9E3F84

    oklch(0.520 0.150 339.6)

    Sample text

  • Border

    #888F93

    oklch(0.646 0.010 232.5)

    Sample text

  • Focus ring

    #006089

    oklch(0.4628 0.1001 236.37)

    Sample text

  • Success

    #008158

    oklch(0.5333 0.1163 162.37)

    Sample text

  • Success fill

    #008457

    oklch(0.5415 0.1211 160.71)

    Sample text

  • Success fill label

    #FAFCFD

    oklch(0.990 0.003 228.8)

    Sample text

  • Warning

    #A16300

    oklch(0.555 0.122 67.9)

    Sample text

  • Warning fill

    #FFBA44

    oklch(0.8335 0.1508 76.88)

    Sample text

  • Warning fill label

    #0E1010

    oklch(0.171 0.003 196.9)

    Sample text

  • Error

    #A21A1B

    oklch(0.4603 0.1706 26.95)

    Sample text

  • Error fill

    #C8322E

    oklch(0.551 0.187 27.1)

    Sample text

  • Error fill label

    #FAFCFD

    oklch(0.990 0.003 228.8)

    Sample text

  • Info

    #2274AF

    oklch(0.540 0.120 245.0)

    Sample text

  • Info fill

    #1377B9

    oklch(0.5501 0.1324 245.13)

    Sample text

  • Info fill label

    #FAFCFD

    oklch(0.990 0.003 228.8)

    Sample text

Appointment confirmed

Secondary text sits on the surface colour.

Link in primary · Accent text

Primary buttonSuccessWarningErrorInfo

Dark theme

  • Background

    #131719

    oklch(0.201 0.007 229.3)

    Sample text

  • Surface

    #1D2123

    oklch(0.244 0.007 229.2)

    Sample text

  • Text

    #E9F0F3

    oklch(0.951 0.009 225.1)

    Sample text

  • Muted text

    #B7BFC3

    oklch(0.800 0.011 228.9)

    Sample text

  • Primary

    #5DCDFA

    oklch(0.8009 0.1195 227.58)

    Sample text

  • Primary foreground

    #0C0D0E

    oklch(0.158 0.003 248.0)

    Sample text

  • Accent

    #FF9CE3

    oklch(0.815 0.146 338.2)

    Sample text

  • Border

    #656D70

    oklch(0.529 0.011 222.2)

    Sample text

  • Focus ring

    #5DCDFA

    oklch(0.8009 0.1195 227.58)

    Sample text

  • Success

    #6CE5B5

    oklch(0.839 0.130 164.9)

    Sample text

  • Success fill

    #3BCD9A

    oklch(0.759 0.143 165.0)

    Sample text

  • Success fill label

    #0E1010

    oklch(0.171 0.003 196.9)

    Sample text

  • Warning

    #FFBC56

    oklch(0.839 0.140 75.1)

    Sample text

  • Warning fill

    #E9A11D

    oklch(0.7605 0.1539 75.30)

    Sample text

  • Warning fill label

    #0E1010

    oklch(0.171 0.003 196.9)

    Sample text

  • Error

    #F66D62

    oklch(0.700 0.171 27.0)

    Sample text

  • Error fill

    #FF7A6D

    oklch(0.732 0.165 27.5)

    Sample text

  • Error fill label

    #0E1010

    oklch(0.171 0.003 196.9)

    Sample text

  • Info

    #71BFFF

    oklch(0.780 0.120 245.0)

    Sample text

  • Info fill

    #61B9FF

    oklch(0.760 0.132 244.8)

    Sample text

  • Info fill label

    #0E1010

    oklch(0.171 0.003 196.9)

    Sample text

Contrast table: every verified pair

Pass or fail uses the raw WCAG 2.x ratio; the ratio shown is floored to two decimals so a near miss is never rounded up. APCA Lc is signed: positive is dark on light, negative is light on dark. Each row opens the pair in the checker.

Light theme: 25 pairs
PairWCAG ratioTargetNormal AA / AAALarge AA / AAAAPCA LcAPCA tierCheck
Text on background#171b1e on #f2f8fa16.15:1AAA 7:1Pass / PassPass / Pass+99.4Lc 75: body textOpen in checker
Text on surface#171b1e on #faffff17.17:1AAA 7:1Pass / PassPass / Pass+103.6Lc 75: body textOpen in checker
Muted text on background#52595d on #f2f8fa6.64:1AA 4.5:1Pass / FailPass / Pass+79.9Lc 75: body textOpen in checker
Muted text on surface#52595d on #faffff7.06:1AA 4.5:1Pass / PassPass / Pass+84.1Lc 75: body textOpen in checker
Primary as link text on background#006f98 on #f2f8fa5.25:1AA 4.5:1Pass / FailPass / Pass+72.7Lc 60: larger content textOpen in checker
Primary as link text on surface#006f98 on #faffff5.58:1AA 4.5:1Pass / FailPass / Pass+76.9Lc 75: body textOpen in checker
Button label on primary#fafcfd on #006f985.47:1AA 4.5:1Pass / FailPass / Pass−80.7Lc 75: body textOpen in checker
Accent text on background#9e3f84 on #f2f8fa5.59:1AA 4.5:1Pass / FailPass / Pass+74.5Lc 60: larger content textOpen in checker
Accent text on surface#9e3f84 on #faffff5.94:1AA 4.5:1Pass / FailPass / Pass+78.7Lc 75: body textOpen in checker
Border on background#888f93 on #f2f8fa3.06:13:1 (WCAG 1.4.11)Fail / FailPass / Fail+55.3Lc 45: headlines and large textOpen in checker
Border on surface#888f93 on #faffff3.25:13:1 (WCAG 1.4.11)Fail / FailPass / Fail+59.6Lc 45: headlines and large textOpen in checker
Focus ring on background#006089 on #f2f8fa6.45:13:1 (WCAG 1.4.11)Pass / FailPass / Pass+78.5Lc 75: body textOpen in checker
Focus ring on surface#006089 on #faffff6.85:13:1 (WCAG 1.4.11)Pass / FailPass / Pass+82.7Lc 75: body textOpen in checker
Success text on background#008158 on #f2f8fa4.57:1AA 4.5:1Pass / FailPass / Pass+68.5Lc 60: larger content textOpen in checker
Success text on surface#008158 on #faffff4.86:1AA 4.5:1Pass / FailPass / Pass+72.8Lc 60: larger content textOpen in checker
Success badge label on fill#fafcfd on #0084574.59:1AA 4.5:1Pass / FailPass / Pass−75.5Lc 75: body textOpen in checker
Warning text on background#a16300 on #f2f8fa4.55:1AA 4.5:1Pass / FailPass / Pass+68.6Lc 60: larger content textOpen in checker
Warning text on surface#a16300 on #faffff4.83:1AA 4.5:1Pass / FailPass / Pass+72.8Lc 60: larger content textOpen in checker
Warning badge label on fill#0e1010 on #ffba4411.23:1AA 4.5:1Pass / PassPass / Pass+73.1Lc 60: larger content textOpen in checker
Error text on background#a21a1b on #f2f8fa7.25:1AA 4.5:1Pass / PassPass / Pass+80.4Lc 75: body textOpen in checker
Error text on surface#a21a1b on #faffff7.70:1AA 4.5:1Pass / PassPass / Pass+84.6Lc 75: body textOpen in checker
Error badge label on fill#fafcfd on #c8322e5.16:1AA 4.5:1Pass / FailPass / Pass−78.2Lc 75: body textOpen in checker
Info text on background#2274af on #f2f8fa4.67:1AA 4.5:1Pass / FailPass / Pass+69.4Lc 60: larger content textOpen in checker
Info text on surface#2274af on #faffff4.97:1AA 4.5:1Pass / FailPass / Pass+73.7Lc 60: larger content textOpen in checker
Info badge label on fill#fafcfd on #1377b94.67:1AA 4.5:1Pass / FailPass / Pass−76.1Lc 75: body textOpen in checker
Dark theme: 25 pairs
PairWCAG ratioTargetNormal AA / AAALarge AA / AAAAPCA LcAPCA tierCheck
Text on background#e9f0f3 on #13171915.65:1AAA 7:1Pass / PassPass / Pass−96.3Lc 75: body textOpen in checker
Text on surface#e9f0f3 on #1d212314.08:1AAA 7:1Pass / PassPass / Pass−95.1Lc 75: body textOpen in checker
Muted text on background#b7bfc3 on #1317199.66:1AA 4.5:1Pass / PassPass / Pass−66.3Lc 60: larger content textOpen in checker
Muted text on surface#b7bfc3 on #1d21238.69:1AA 4.5:1Pass / PassPass / Pass−65.1Lc 60: larger content textOpen in checker
Primary as link text on background#5dcdfa on #1317199.94:1AA 4.5:1Pass / PassPass / Pass−68.1Lc 60: larger content textOpen in checker
Primary as link text on surface#5dcdfa on #1d21238.94:1AA 4.5:1Pass / PassPass / Pass−66.9Lc 60: larger content textOpen in checker
Button label on primary#0c0d0e on #5dcdfa10.72:1AA 4.5:1Pass / PassPass / Pass+70.0Lc 60: larger content textOpen in checker
Accent text on background#ff9ce3 on #1317199.54:1AA 4.5:1Pass / PassPass / Pass−65.9Lc 60: larger content textOpen in checker
Accent text on surface#ff9ce3 on #1d21238.59:1AA 4.5:1Pass / PassPass / Pass−64.7Lc 60: larger content textOpen in checker
Border on background#656d70 on #1317193.41:13:1 (WCAG 1.4.11)Fail / FailPass / Fail−24.5Below Lc 30Open in checker
Border on surface#656d70 on #1d21233.07:13:1 (WCAG 1.4.11)Fail / FailPass / Fail−23.3Below Lc 30Open in checker
Focus ring on background#5dcdfa on #1317199.94:13:1 (WCAG 1.4.11)Pass / PassPass / Pass−68.1Lc 60: larger content textOpen in checker
Focus ring on surface#5dcdfa on #1d21238.94:13:1 (WCAG 1.4.11)Pass / PassPass / Pass−66.9Lc 60: larger content textOpen in checker
Success text on background#6ce5b5 on #13171911.60:1AA 4.5:1Pass / PassPass / Pass−76.9Lc 75: body textOpen in checker
Success text on surface#6ce5b5 on #1d212310.44:1AA 4.5:1Pass / PassPass / Pass−75.7Lc 75: body textOpen in checker
Success badge label on fill#0e1010 on #3bcd9a9.43:1AA 4.5:1Pass / PassPass / Pass+64.5Lc 60: larger content textOpen in checker
Warning text on background#ffbc56 on #13171910.80:1AA 4.5:1Pass / PassPass / Pass−72.7Lc 60: larger content textOpen in checker
Warning text on surface#ffbc56 on #1d21239.72:1AA 4.5:1Pass / PassPass / Pass−71.5Lc 60: larger content textOpen in checker
Warning badge label on fill#0e1010 on #e9a11d8.70:1AA 4.5:1Pass / PassPass / Pass+60.6Lc 60: larger content textOpen in checker
Error text on background#f66d62 on #1317196.25:1AA 4.5:1Pass / FailPass / Pass−46.5Lc 45: headlines and large textOpen in checker
Error text on surface#f66d62 on #1d21235.62:1AA 4.5:1Pass / FailPass / Pass−45.2Lc 45: headlines and large textOpen in checker
Error badge label on fill#0e1010 on #ff7a6d7.50:1AA 4.5:1Pass / PassPass / Pass+54.2Lc 45: headlines and large textOpen in checker
Info text on background#71bfff on #1317199.10:1AA 4.5:1Pass / PassPass / Pass−63.3Lc 60: larger content textOpen in checker
Info text on surface#71bfff on #1d21238.18:1AA 4.5:1Pass / PassPass / Pass−62.1Lc 60: larger content textOpen in checker
Info badge label on fill#0e1010 on #61b9ff8.99:1AA 4.5:1Pass / PassPass / Pass+62.0Lc 60: larger content textOpen in checker

Status colours and colour blindness

The four status fills were simulated for protanopia, deuteranopia and tritanopia (Machado et al., 2009). Success against error, the pair most often confused, must stay at least 6 ΔE-OK ×100 apart under every simulation. The other pairs are shown for information, so keep an icon and a word on every status.

Light theme, status fills
PairNormal visionProtanopiaDeuteranopiaTritanopiaHeld to 6
success / warning34.526.339.231.9Shown only
success / error28.516.26.433.0Yes
success / info17.116.215.33.2Shown only
warning / error31.842.037.422.6Shown only
warning / info40.034.244.531.2Shown only
error / info30.324.121.633.0Shown only

Fills as simulated:Normal visionProtanopiaDeuteranopiaTritanopia

Dark theme, status fills
PairNormal visionProtanopiaDeuteranopiaTritanopiaHeld to 6
success / warning20.911.815.527.5Shown only
success / error28.815.36.431.3Yes
success / info17.715.214.33.8Shown only
warning / error13.313.210.55.5Shown only
warning / info28.526.028.726.2Shown only
error / info28.321.820.829.7Shown only

Fills as simulated:Normal visionProtanopiaDeuteranopiaTritanopia

Why these colours

The primary is a sky blue at OKLCH hue 228 and chroma 0.12. It evokes open air and water, and in the AA-solved form it is a deeper cerulean that still feels fresh. The accent is a vivid pink at hue 340, which stands out against both blue and photography and is not one of the usual status hues, so it never gets confused with error or warning.

The neutrals carry a faint blue tint. Light surfaces are verified for text, and the dark theme suits night-time browsing and late arrivals. Lightness for every role was solved against both background and card colours, holding hue and chroma.

Travellers also use these sites while stressed or distracted, such as rebooking after a cancelled flight. In that situation the pages that matter most are the simplest ones: itinerary, change options and contact details. Keeping those pages on the strongest text and surface pairs, free from decoration and promotional colour, means the information is readable when it counts.

The generator solved 50 pairs (25 light, 25 dark), and all of them meet their target on the raw WCAG ratio. The tightest is warning text on background in the light theme at 4.55:1 against a target of 4.5:1. After gamut mapping to sRGB the light primary keeps 88% of the requested chroma; hue was held throughout.

How to use it

  • Show calendar states with more than colour: a ring for today, a filled range with end caps, and a strike-through for unavailable dates.
  • Put departure and arrival times in the full text colour; times are the data people act on.
  • Use the success badge for Free cancellation and the warning badge for Last rooms, each with the words.
  • Keep text on hero photos inside a solid panel; sunsets and beaches make unpredictable backgrounds.
  • Offer the dark theme and test the key screens outdoors on a phone at moderate brightness.

Export

Generated from the verified values above, never typed by hand. Light and dark are both included.

CSS custom properties (hex, then oklch())

/* sRGB hex first: every browser. */
:root {
  --color-background: #f2f8fa;
  --color-surface: #faffff;
  --color-text: #171b1e;
  --color-text-muted: #52595d;
  --color-primary: #006f98;
  --color-primary-foreground: #fafcfd;
  --color-accent: #9e3f84;
  --color-border: #888f93;
  --color-focus-ring: #006089;
  --color-success: #008158;
  --color-success-solid: #008457;
  --color-success-solid-foreground: #fafcfd;
  --color-warning: #a16300;
  --color-warning-solid: #ffba44;
  --color-warning-solid-foreground: #0e1010;
  --color-error: #a21a1b;
  --color-error-solid: #c8322e;
  --color-error-solid-foreground: #fafcfd;
  --color-info: #2274af;
  --color-info-solid: #1377b9;
  --color-info-solid-foreground: #fafcfd;
}
.dark {
  --color-background: #131719;
  --color-surface: #1d2123;
  --color-text: #e9f0f3;
  --color-text-muted: #b7bfc3;
  --color-primary: #5dcdfa;
  --color-primary-foreground: #0c0d0e;
  --color-accent: #ff9ce3;
  --color-border: #656d70;
  --color-focus-ring: #5dcdfa;
  --color-success: #6ce5b5;
  --color-success-solid: #3bcd9a;
  --color-success-solid-foreground: #0e1010;
  --color-warning: #ffbc56;
  --color-warning-solid: #e9a11d;
  --color-warning-solid-foreground: #0e1010;
  --color-error: #f66d62;
  --color-error-solid: #ff7a6d;
  --color-error-solid-foreground: #0e1010;
  --color-info: #71bfff;
  --color-info-solid: #61b9ff;
  --color-info-solid-foreground: #0e1010;
}

/* oklch() where supported: the same colours, unclipped values of the hex above. */
@supports (color: oklch(0 0 0)) {
  :root {
    --color-background: oklch(0.975 0.007 219.6);
    --color-surface: oklch(0.996 0.005 197.1);
    --color-text: oklch(0.219 0.008 240.3);
    --color-text-muted: oklch(0.459 0.011 232.6);
    --color-primary: oklch(0.5096 0.1052 232.95);
    --color-primary-foreground: oklch(0.990 0.003 228.8);
    --color-accent: oklch(0.520 0.150 339.6);
    --color-border: oklch(0.646 0.010 232.5);
    --color-focus-ring: oklch(0.4628 0.1001 236.37);
    --color-success: oklch(0.5333 0.1163 162.37);
    --color-success-solid: oklch(0.5415 0.1211 160.71);
    --color-success-solid-foreground: oklch(0.990 0.003 228.8);
    --color-warning: oklch(0.555 0.122 67.9);
    --color-warning-solid: oklch(0.8335 0.1508 76.88);
    --color-warning-solid-foreground: oklch(0.171 0.003 196.9);
    --color-error: oklch(0.4603 0.1706 26.95);
    --color-error-solid: oklch(0.551 0.187 27.1);
    --color-error-solid-foreground: oklch(0.990 0.003 228.8);
    --color-info: oklch(0.540 0.120 245.0);
    --color-info-solid: oklch(0.5501 0.1324 245.13);
    --color-info-solid-foreground: oklch(0.990 0.003 228.8);
  }
  .dark {
    --color-background: oklch(0.201 0.007 229.3);
    --color-surface: oklch(0.244 0.007 229.2);
    --color-text: oklch(0.951 0.009 225.1);
    --color-text-muted: oklch(0.800 0.011 228.9);
    --color-primary: oklch(0.8009 0.1195 227.58);
    --color-primary-foreground: oklch(0.158 0.003 248.0);
    --color-accent: oklch(0.815 0.146 338.2);
    --color-border: oklch(0.529 0.011 222.2);
    --color-focus-ring: oklch(0.8009 0.1195 227.58);
    --color-success: oklch(0.839 0.130 164.9);
    --color-success-solid: oklch(0.759 0.143 165.0);
    --color-success-solid-foreground: oklch(0.171 0.003 196.9);
    --color-warning: oklch(0.839 0.140 75.1);
    --color-warning-solid: oklch(0.7605 0.1539 75.30);
    --color-warning-solid-foreground: oklch(0.171 0.003 196.9);
    --color-error: oklch(0.700 0.171 27.0);
    --color-error-solid: oklch(0.732 0.165 27.5);
    --color-error-solid-foreground: oklch(0.171 0.003 196.9);
    --color-info: oklch(0.780 0.120 245.0);
    --color-info-solid: oklch(0.760 0.132 244.8);
    --color-info-solid-foreground: oklch(0.171 0.003 196.9);
  }
}

Tailwind CSS v4 @theme

@theme {
  /* light */
  --color-background: oklch(0.975 0.007 219.6); /* #f2f8fa */
  --color-surface: oklch(0.996 0.005 197.1); /* #faffff */
  --color-text: oklch(0.219 0.008 240.3); /* #171b1e */
  --color-text-muted: oklch(0.459 0.011 232.6); /* #52595d */
  --color-primary: oklch(0.5096 0.1052 232.95); /* #006f98 */
  --color-primary-foreground: oklch(0.990 0.003 228.8); /* #fafcfd */
  --color-accent: oklch(0.520 0.150 339.6); /* #9e3f84 */
  --color-border: oklch(0.646 0.010 232.5); /* #888f93 */
  --color-focus-ring: oklch(0.4628 0.1001 236.37); /* #006089 */
  --color-success: oklch(0.5333 0.1163 162.37); /* #008158 */
  --color-success-solid: oklch(0.5415 0.1211 160.71); /* #008457 */
  --color-success-solid-foreground: oklch(0.990 0.003 228.8); /* #fafcfd */
  --color-warning: oklch(0.555 0.122 67.9); /* #a16300 */
  --color-warning-solid: oklch(0.8335 0.1508 76.88); /* #ffba44 */
  --color-warning-solid-foreground: oklch(0.171 0.003 196.9); /* #0e1010 */
  --color-error: oklch(0.4603 0.1706 26.95); /* #a21a1b */
  --color-error-solid: oklch(0.551 0.187 27.1); /* #c8322e */
  --color-error-solid-foreground: oklch(0.990 0.003 228.8); /* #fafcfd */
  --color-info: oklch(0.540 0.120 245.0); /* #2274af */
  --color-info-solid: oklch(0.5501 0.1324 245.13); /* #1377b9 */
  --color-info-solid-foreground: oklch(0.990 0.003 228.8); /* #fafcfd */
  /* dark: use as dark:bg-background-dark, or remap under a .dark selector */
  --color-background-dark: oklch(0.201 0.007 229.3); /* #131719 */
  --color-surface-dark: oklch(0.244 0.007 229.2); /* #1d2123 */
  --color-text-dark: oklch(0.951 0.009 225.1); /* #e9f0f3 */
  --color-text-muted-dark: oklch(0.800 0.011 228.9); /* #b7bfc3 */
  --color-primary-dark: oklch(0.8009 0.1195 227.58); /* #5dcdfa */
  --color-primary-foreground-dark: oklch(0.158 0.003 248.0); /* #0c0d0e */
  --color-accent-dark: oklch(0.815 0.146 338.2); /* #ff9ce3 */
  --color-border-dark: oklch(0.529 0.011 222.2); /* #656d70 */
  --color-focus-ring-dark: oklch(0.8009 0.1195 227.58); /* #5dcdfa */
  --color-success-dark: oklch(0.839 0.130 164.9); /* #6ce5b5 */
  --color-success-solid-dark: oklch(0.759 0.143 165.0); /* #3bcd9a */
  --color-success-solid-foreground-dark: oklch(0.171 0.003 196.9); /* #0e1010 */
  --color-warning-dark: oklch(0.839 0.140 75.1); /* #ffbc56 */
  --color-warning-solid-dark: oklch(0.7605 0.1539 75.30); /* #e9a11d */
  --color-warning-solid-foreground-dark: oklch(0.171 0.003 196.9); /* #0e1010 */
  --color-error-dark: oklch(0.700 0.171 27.0); /* #f66d62 */
  --color-error-solid-dark: oklch(0.732 0.165 27.5); /* #ff7a6d */
  --color-error-solid-foreground-dark: oklch(0.171 0.003 196.9); /* #0e1010 */
  --color-info-dark: oklch(0.780 0.120 245.0); /* #71bfff */
  --color-info-solid-dark: oklch(0.760 0.132 244.8); /* #61b9ff */
  --color-info-solid-foreground-dark: oklch(0.171 0.003 196.9); /* #0e1010 */
}

shadcn/ui variables (:root and .dark)

:root {
  --background: oklch(0.975 0.007 219.6);
  --foreground: oklch(0.219 0.008 240.3);
  --card: oklch(0.996 0.005 197.1);
  --card-foreground: oklch(0.219 0.008 240.3);
  --popover: oklch(0.996 0.005 197.1);
  --popover-foreground: oklch(0.219 0.008 240.3);
  --primary: oklch(0.5096 0.1052 232.95);
  --primary-foreground: oklch(0.990 0.003 228.8);
  --secondary: oklch(0.996 0.005 197.1);
  --secondary-foreground: oklch(0.219 0.008 240.3);
  --muted: oklch(0.996 0.005 197.1);
  --muted-foreground: oklch(0.459 0.011 232.6);
  --accent: oklch(0.996 0.005 197.1);
  --accent-foreground: oklch(0.219 0.008 240.3);
  --destructive: oklch(0.551 0.187 27.1);
  --destructive-foreground: oklch(0.990 0.003 228.8);
  --border: oklch(0.646 0.010 232.5);
  --input: oklch(0.646 0.010 232.5);
  --ring: oklch(0.4628 0.1001 236.37);
  --success: oklch(0.5415 0.1211 160.71);
  --success-foreground: oklch(0.990 0.003 228.8);
  --warning: oklch(0.8335 0.1508 76.88);
  --warning-foreground: oklch(0.171 0.003 196.9);
  --info: oklch(0.5501 0.1324 245.13);
  --info-foreground: oklch(0.990 0.003 228.8);
  --brand-accent: oklch(0.520 0.150 339.6);
}

.dark {
  --background: oklch(0.201 0.007 229.3);
  --foreground: oklch(0.951 0.009 225.1);
  --card: oklch(0.244 0.007 229.2);
  --card-foreground: oklch(0.951 0.009 225.1);
  --popover: oklch(0.244 0.007 229.2);
  --popover-foreground: oklch(0.951 0.009 225.1);
  --primary: oklch(0.8009 0.1195 227.58);
  --primary-foreground: oklch(0.158 0.003 248.0);
  --secondary: oklch(0.244 0.007 229.2);
  --secondary-foreground: oklch(0.951 0.009 225.1);
  --muted: oklch(0.244 0.007 229.2);
  --muted-foreground: oklch(0.800 0.011 228.9);
  --accent: oklch(0.244 0.007 229.2);
  --accent-foreground: oklch(0.951 0.009 225.1);
  --destructive: oklch(0.732 0.165 27.5);
  --destructive-foreground: oklch(0.171 0.003 196.9);
  --border: oklch(0.529 0.011 222.2);
  --input: oklch(0.529 0.011 222.2);
  --ring: oklch(0.8009 0.1195 227.58);
  --success: oklch(0.759 0.143 165.0);
  --success-foreground: oklch(0.171 0.003 196.9);
  --warning: oklch(0.7605 0.1539 75.30);
  --warning-foreground: oklch(0.171 0.003 196.9);
  --info: oklch(0.760 0.132 244.8);
  --info-foreground: oklch(0.171 0.003 196.9);
  --brand-accent: oklch(0.815 0.146 338.2);
}

Design tokens (DTCG-style JSON)

{
  "color": {
    "light": {
      "background": {
        "$type": "color",
        "$value": "oklch(0.975 0.007 219.6)",
        "$description": "sRGB #f2f8fa"
      },
      "surface": {
        "$type": "color",
        "$value": "oklch(0.996 0.005 197.1)",
        "$description": "sRGB #faffff"
      },
      "text": {
        "$type": "color",
        "$value": "oklch(0.219 0.008 240.3)",
        "$description": "sRGB #171b1e"
      },
      "text-muted": {
        "$type": "color",
        "$value": "oklch(0.459 0.011 232.6)",
        "$description": "sRGB #52595d"
      },
      "primary": {
        "$type": "color",
        "$value": "oklch(0.5096 0.1052 232.95)",
        "$description": "sRGB #006f98"
      },
      "primary-foreground": {
        "$type": "color",
        "$value": "oklch(0.990 0.003 228.8)",
        "$description": "sRGB #fafcfd"
      },
      "accent": {
        "$type": "color",
        "$value": "oklch(0.520 0.150 339.6)",
        "$description": "sRGB #9e3f84"
      },
      "border": {
        "$type": "color",
        "$value": "oklch(0.646 0.010 232.5)",
        "$description": "sRGB #888f93"
      },
      "focus-ring": {
        "$type": "color",
        "$value": "oklch(0.4628 0.1001 236.37)",
        "$description": "sRGB #006089"
      },
      "success": {
        "$type": "color",
        "$value": "oklch(0.5333 0.1163 162.37)",
        "$description": "sRGB #008158"
      },
      "success-solid": {
        "$type": "color",
        "$value": "oklch(0.5415 0.1211 160.71)",
        "$description": "sRGB #008457"
      },
      "success-solid-foreground": {
        "$type": "color",
        "$value": "oklch(0.990 0.003 228.8)",
        "$description": "sRGB #fafcfd"
      },
      "warning": {
        "$type": "color",
        "$value": "oklch(0.555 0.122 67.9)",
        "$description": "sRGB #a16300"
      },
      "warning-solid": {
        "$type": "color",
        "$value": "oklch(0.8335 0.1508 76.88)",
        "$description": "sRGB #ffba44"
      },
      "warning-solid-foreground": {
        "$type": "color",
        "$value": "oklch(0.171 0.003 196.9)",
        "$description": "sRGB #0e1010"
      },
      "error": {
        "$type": "color",
        "$value": "oklch(0.4603 0.1706 26.95)",
        "$description": "sRGB #a21a1b"
      },
      "error-solid": {
        "$type": "color",
        "$value": "oklch(0.551 0.187 27.1)",
        "$description": "sRGB #c8322e"
      },
      "error-solid-foreground": {
        "$type": "color",
        "$value": "oklch(0.990 0.003 228.8)",
        "$description": "sRGB #fafcfd"
      },
      "info": {
        "$type": "color",
        "$value": "oklch(0.540 0.120 245.0)",
        "$description": "sRGB #2274af"
      },
      "info-solid": {
        "$type": "color",
        "$value": "oklch(0.5501 0.1324 245.13)",
        "$description": "sRGB #1377b9"
      },
      "info-solid-foreground": {
        "$type": "color",
        "$value": "oklch(0.990 0.003 228.8)",
        "$description": "sRGB #fafcfd"
      }
    },
    "dark": {
      "background": {
        "$type": "color",
        "$value": "oklch(0.201 0.007 229.3)",
        "$description": "sRGB #131719"
      },
      "surface": {
        "$type": "color",
        "$value": "oklch(0.244 0.007 229.2)",
        "$description": "sRGB #1d2123"
      },
      "text": {
        "$type": "color",
        "$value": "oklch(0.951 0.009 225.1)",
        "$description": "sRGB #e9f0f3"
      },
      "text-muted": {
        "$type": "color",
        "$value": "oklch(0.800 0.011 228.9)",
        "$description": "sRGB #b7bfc3"
      },
      "primary": {
        "$type": "color",
        "$value": "oklch(0.8009 0.1195 227.58)",
        "$description": "sRGB #5dcdfa"
      },
      "primary-foreground": {
        "$type": "color",
        "$value": "oklch(0.158 0.003 248.0)",
        "$description": "sRGB #0c0d0e"
      },
      "accent": {
        "$type": "color",
        "$value": "oklch(0.815 0.146 338.2)",
        "$description": "sRGB #ff9ce3"
      },
      "border": {
        "$type": "color",
        "$value": "oklch(0.529 0.011 222.2)",
        "$description": "sRGB #656d70"
      },
      "focus-ring": {
        "$type": "color",
        "$value": "oklch(0.8009 0.1195 227.58)",
        "$description": "sRGB #5dcdfa"
      },
      "success": {
        "$type": "color",
        "$value": "oklch(0.839 0.130 164.9)",
        "$description": "sRGB #6ce5b5"
      },
      "success-solid": {
        "$type": "color",
        "$value": "oklch(0.759 0.143 165.0)",
        "$description": "sRGB #3bcd9a"
      },
      "success-solid-foreground": {
        "$type": "color",
        "$value": "oklch(0.171 0.003 196.9)",
        "$description": "sRGB #0e1010"
      },
      "warning": {
        "$type": "color",
        "$value": "oklch(0.839 0.140 75.1)",
        "$description": "sRGB #ffbc56"
      },
      "warning-solid": {
        "$type": "color",
        "$value": "oklch(0.7605 0.1539 75.30)",
        "$description": "sRGB #e9a11d"
      },
      "warning-solid-foreground": {
        "$type": "color",
        "$value": "oklch(0.171 0.003 196.9)",
        "$description": "sRGB #0e1010"
      },
      "error": {
        "$type": "color",
        "$value": "oklch(0.700 0.171 27.0)",
        "$description": "sRGB #f66d62"
      },
      "error-solid": {
        "$type": "color",
        "$value": "oklch(0.732 0.165 27.5)",
        "$description": "sRGB #ff7a6d"
      },
      "error-solid-foreground": {
        "$type": "color",
        "$value": "oklch(0.171 0.003 196.9)",
        "$description": "sRGB #0e1010"
      },
      "info": {
        "$type": "color",
        "$value": "oklch(0.780 0.120 245.0)",
        "$description": "sRGB #71bfff"
      },
      "info-solid": {
        "$type": "color",
        "$value": "oklch(0.760 0.132 244.8)",
        "$description": "sRGB #61b9ff"
      },
      "info-solid-foreground": {
        "$type": "color",
        "$value": "oklch(0.171 0.003 196.9)",
        "$description": "sRGB #0e1010"
      }
    }
  }
}

Open in the studio

Take the primary colour into the picker, build a tonal scale from it, or check any pair of your own.

Open #006F98 in the OKLCH picker →Build a tonal scale →Check a pair

FAQ

Why pink as the accent?
It is distinct from blue and from the red, amber and green used for status, so the accent never reads as a warning. The text form is a deep magenta-pink to reach contrast.
How should date pickers use colour?
Use the primary for selected dates, the border colour for the grid, and the muted text colour for disabled dates plus a pattern. All of those pairs are in the contrast table.
Does the palette cover maps?
Not map tiles. Pins can use the accent and primary with white outlines; test them against your chosen tile set.
Where do I see the exact colour values?
In the swatch grids with hex and OKLCH, and in the export code blocks, which are generated from the same data.

← All accessible palettes