Colors for a presentation
The palette plans headroom for the projector. Choose how bright the room is and see how much contrast is left.
Hex list in the order of the Office theme colors · slide preview on screen and on a projector · rationale
Your palette
Body text has 15.76:1 on screen and 5.40:1 on a projector in a dimmed room (simplified model after an example by Texas Instruments).
As text, the accent needs 7:1 on both slide surfaces. The starting color #11697A has 6.06:1 on the slide and 5.45:1 on the second surface. The text variant #005768 has 7.87:1 and 7.07:1.
- Slide background background of every slide
#F8FBFB - Text titles and body text
#18212315.76:1 on slide background · meets 7:1 - Muted text subtitles, sources, labels
#4951547.79:1 on slide background · meets 7:1 - Accent highlights, bars, lines
#11697A6.06:1 on slide background · meets 3:1also as text - Accent as text links and highlighted words
#0057687.87:1 on slide background · meets 7:1
More roles (6)
- Slide panel boxes, table rows, highlight panels
#EBEFF01.11:1 on slide background · decorative only - Line axes, borders, dividers
#838C8F3.30:1 on slide background · meets 3:1 - Chart color 1 first series, same as the accent
#11697A6.06:1 on slide background · meets 3:1also as text - Chart color 2 second series
#009E733.28:1 on slide background · meets 3:1lines and large elements - Chart color 3 third series
#D55E003.71:1 on slide background · meets 3:1lines and large elements - Chart color 4 fourth series, Accent 4 in Office
#0072B24.98:1 on slide background · meets 3:1also as text
Hex list in the order of the Office theme colors · slide preview on screen and on a projector · rationale
How it looks
The simulation approximates strong forms for an average observer. It does not replace testing with people who have color vision deficiency.
Copy
This input has no solution, so there is nothing to copy here. Change the input or pick a starter palette.
Hex list
Twelve values in the order of the Office color scheme, for PowerPoint, Keynote and Google Slides
Farbsprache · Petrol · Presentation · calculated on 2026-10-31
Office theme colors in the order of the color scheme (dk1 to folHlink)
Dark 1 (dk1) #182123 slide-text
Light 1 (lt1) #F8FBFB slide-bg
Dark 2 (dk2) #495154 slide-text-2
Light 2 (lt2) #EBEFF0 slide-bg-2
Accent 1 (accent1) #11697A slide-accent
Accent 2 (accent2) #009E73 slide-chart-2
Accent 3 (accent3) #D55E00 slide-chart-3
Accent 4 (accent4) #0072B2 slide-chart-4
Accent 5 (accent5) #495154 slide-text-2
Accent 6 (accent6) #838C8F slide-line
Hyperlink (hlink) #005768 slide-accent-text
Followed Hyperlink (folHlink) #495154 slide-text-2
Colors after Masataka Okabe and Kei Ito, Color Universal Design (2002)
Values and checks: https://grundhofer.github.io/farbsprache/en/slides/?p=petrolHow to enter the colors
PowerPoint: On the Design tab, in the Variants group, select the down arrow, then Colors and Customize Colors. In the Create New Theme Colors dialog, choose More Colors for each element, enter the value on the Custom tab and save the colors under a name. (path checked on 2026-10-11 in the vendor's help)
Keynote: In the Format sidebar, click the Style tab, click the arrow next to Fill, choose Color Fill and click the color wheel. Set the color in the Colors window. To save it, click the color well next to Fill and drag the fill from the Current Fill well to another well. (path checked on 2026-10-11 in the vendor's help)
Google Slides: At the top, click Slide, then Edit theme and Colors. On the right, under Theme colors, select the color in the drop-down and enter the hex value. (path checked on 2026-10-11 in the vendor's help)
CSS
/* Farbsprache · Petrol · Presentation · calculated on 2026-10-31
Exactly these hex values were checked. The OKLCH notes lead back to exactly the same hex values.
Colors after Masataka Okabe and Kei Ito, Color Universal Design (2002)
Values and checks: https://grundhofer.github.io/farbsprache/en/slides/?p=petrol */
:root {
--slide-bg: #F8FBFB; /* oklch(98.6% 0.003 197.1) · background of every slide */
--slide-bg-2: #EBEFF0; /* oklch(94.9% 0.004 214.3) · boxes, table rows, highlight panels */
--slide-text: #182123; /* oklch(24.0% 0.013 212.7) · titles and body text */
--slide-text-2: #495154; /* oklch(42.9% 0.011 222.2) · subtitles, sources, labels */
--slide-accent: #11697A; /* oklch(48% 0.08 215) · highlights, bars, lines */
--slide-accent-text: #005768; /* oklch(42.12% 0.0752 216.95) · links and highlighted words */
--slide-line: #838C8F; /* oklch(63.4% 0.011 219.7) · axes, borders, dividers */
--slide-chart-1: #11697A; /* oklch(48% 0.08 215) · first series, same as the accent */
--slide-chart-2: #009E73; /* oklch(62.0% 0.130 165.5) · second series */
--slide-chart-3: #D55E00; /* oklch(62.13% 0.1705 47.51) · third series */
--slide-chart-4: #0072B2; /* oklch(53.19% 0.1313 244.05) · fourth series, Accent 4 in Office */
}Rationale
The slide palette “Petrol” puts dark text on a light background, because a study found this the most legible on a projector too. Text, muted text and links reach at least 7:1 on screen per WCAG 2.2 (success criterion 1.4.6), body text on the slide 15.76:1. Lines, the accent and the chart colors reach at least 3:1 against the slide (1.4.11). The first chart color is the accent, the others come from Okabe-Ito. Their order is calculated so they stay as far apart as possible under simulated red-green deficiency too. On a projector in the dimmed room from an example by Texas Instruments, a simplified model keeps only 5.40:1. That is why the palette plans for 7:1 instead of 4.5:1. Calculated with Farbsprache on 2026-10-31: https://grundhofer.github.io/farbsprache/en/slides/?p=petrol Colors after Masataka Okabe and Kei Ito, Color Universal Design (2002)Design tokens (JSON)
DTCG 2025.10 format, for example for Style Dictionary or Figma plugins
{
"$description": "Farbsprache · Petrol · Presentation · calculated on 2026-10-31 · https://grundhofer.github.io/farbsprache/en/slides/?p=petrol",
"color": {
"slide-bg": {"$type": "color", "$value": {"colorSpace": "srgb", "components": [0.9725, 0.9843, 0.9843], "alpha": 1, "hex": "#F8FBFB"}, "$description": "background of every slide"},
"slide-bg-2": {"$type": "color", "$value": {"colorSpace": "srgb", "components": [0.9216, 0.9373, 0.9412], "alpha": 1, "hex": "#EBEFF0"}, "$description": "boxes, table rows, highlight panels"},
"slide-text": {"$type": "color", "$value": {"colorSpace": "srgb", "components": [0.0941, 0.1294, 0.1373], "alpha": 1, "hex": "#182123"}, "$description": "titles and body text"},
"slide-text-2": {"$type": "color", "$value": {"colorSpace": "srgb", "components": [0.2863, 0.3176, 0.3294], "alpha": 1, "hex": "#495154"}, "$description": "subtitles, sources, labels"},
"slide-accent": {"$type": "color", "$value": {"colorSpace": "srgb", "components": [0.0667, 0.4118, 0.4784], "alpha": 1, "hex": "#11697A"}, "$description": "highlights, bars, lines"},
"slide-accent-text": {"$type": "color", "$value": {"colorSpace": "srgb", "components": [0, 0.3412, 0.4078], "alpha": 1, "hex": "#005768"}, "$description": "links and highlighted words"},
"slide-line": {"$type": "color", "$value": {"colorSpace": "srgb", "components": [0.5137, 0.549, 0.5608], "alpha": 1, "hex": "#838C8F"}, "$description": "axes, borders, dividers"},
"slide-chart-1": {"$type": "color", "$value": {"colorSpace": "srgb", "components": [0.0667, 0.4118, 0.4784], "alpha": 1, "hex": "#11697A"}, "$description": "first series, same as the accent"},
"slide-chart-2": {"$type": "color", "$value": {"colorSpace": "srgb", "components": [0, 0.6196, 0.451], "alpha": 1, "hex": "#009E73"}, "$description": "second series"},
"slide-chart-3": {"$type": "color", "$value": {"colorSpace": "srgb", "components": [0.8353, 0.3686, 0], "alpha": 1, "hex": "#D55E00"}, "$description": "third series"},
"slide-chart-4": {"$type": "color", "$value": {"colorSpace": "srgb", "components": [0, 0.4471, 0.698], "alpha": 1, "hex": "#0072B2"}, "$description": "fourth series, Accent 4 in Office"}
},
"$extensions": {
"io.github.grundhofer.farbsprache": {
"standard": "WCAG 2.2, contrast checked unrounded, truncated to 2 decimals here",
"notice": "Colors after Masataka Okabe and Kei Ito, Color Universal Design (2002)",
"pairs": [
{"fg": "slide-text", "bg": "slide-bg", "ratio": 15.76, "min": 7, "criterion": "1.4.6"},
{"fg": "slide-text", "bg": "slide-bg-2", "ratio": 14.16, "min": 7, "criterion": "1.4.6"},
{"fg": "slide-text-2", "bg": "slide-bg", "ratio": 7.79, "min": 7, "criterion": "1.4.6"},
{"fg": "slide-text-2", "bg": "slide-bg-2", "ratio": 7, "min": 7, "criterion": "1.4.6"},
{"fg": "slide-accent-text", "bg": "slide-bg", "ratio": 7.87, "min": 7, "criterion": "1.4.6"},
{"fg": "slide-accent-text", "bg": "slide-bg-2", "ratio": 7.07, "min": 7, "criterion": "1.4.6"},
{"fg": "slide-accent", "bg": "slide-bg", "ratio": 6.06, "min": 3, "criterion": "1.4.11"},
{"fg": "slide-line", "bg": "slide-bg", "ratio": 3.3, "min": 3, "criterion": "1.4.11"},
{"fg": "slide-chart-1", "bg": "slide-bg", "ratio": 6.06, "min": 3, "criterion": "1.4.11"},
{"fg": "slide-chart-2", "bg": "slide-bg", "ratio": 3.28, "min": 3, "criterion": "1.4.11"},
{"fg": "slide-chart-3", "bg": "slide-bg", "ratio": 3.71, "min": 3, "criterion": "1.4.11"},
{"fg": "slide-chart-4", "bg": "slide-bg", "ratio": 4.98, "min": 3, "criterion": "1.4.11"}
],
"decorative": [{"fg": "slide-bg-2", "bg": "slide-bg", "ratio": 1.11}]
}
}
}Checked: 12 pairs, 12 pass
| Pair | Contrast | Requirement | Result |
|---|---|---|---|
Text on Slide background text/slide | 15.76:1Projector, dimmed room: 5.40:1 | 7:1 WCAG 2.2, 1.4.6 | passes ✓CalculationLuminance #182123 = 0.0140 · #F8FBFB = 0.9592 · (0.9592 + 0.05) / (0.0140 + 0.05) = 15.76:1 |
Text on Slide panel text/slide-2 | 14.16:1Projector, dimmed room: 4.92:1 | 7:1 WCAG 2.2, 1.4.6 | passes ✓CalculationLuminance #182123 = 0.0140 · #EBEFF0 = 0.8569 · (0.8569 + 0.05) / (0.0140 + 0.05) = 14.16:1 |
Muted text on Slide background text-2/slide | 7.79:1Projector, dimmed room: 4.14:1 | 7:1 WCAG 2.2, 1.4.6 | passes ✓CalculationLuminance #495154 = 0.0794 · #F8FBFB = 0.9592 · (0.9592 + 0.05) / (0.0794 + 0.05) = 7.79:1 |
Muted text on Slide panel text-2/slide-2 | 7.00:1Projector, dimmed room: 3.77:1 | 7:1 WCAG 2.2, 1.4.6 | passes ✓CalculationLuminance #495154 = 0.0794 · #EBEFF0 = 0.8569 · (0.8569 + 0.05) / (0.0794 + 0.05) = 7.00:1 |
Accent as text on Slide background accent-text/slide | 7.87:1Projector, dimmed room: 4.16:1 | 7:1 WCAG 2.2, 1.4.6 | passes ✓CalculationLuminance #005768 = 0.0782 · #F8FBFB = 0.9592 · (0.9592 + 0.05) / (0.0782 + 0.05) = 7.87:1 |
Accent as text on Slide panel accent-text/slide-2 | 7.07:1Projector, dimmed room: 3.79:1 | 7:1 WCAG 2.2, 1.4.6 | passes ✓CalculationLuminance #005768 = 0.0782 · #EBEFF0 = 0.8569 · (0.8569 + 0.05) / (0.0782 + 0.05) = 7.07:1 |
Accent on Slide background accent/slide | 6.06:1Projector, dimmed room: 3.65:1 | 3:1 WCAG 2.2, 1.4.11 | passes ✓CalculationLuminance #11697A = 0.1163 · #F8FBFB = 0.9592 · (0.9592 + 0.05) / (0.1163 + 0.05) = 6.06:1 |
Line on Slide background line/slide | 3.30:1Projector, dimmed room: 2.54:1 | 3:1 WCAG 2.2, 1.4.11 | passes ✓CalculationLuminance #838C8F = 0.2556 · #F8FBFB = 0.9592 · (0.9592 + 0.05) / (0.2556 + 0.05) = 3.30:1 |
Chart color 1 on Slide background chart-1/slide | 6.06:1Projector, dimmed room: 3.65:1 | 3:1 WCAG 2.2, 1.4.11 | passes ✓CalculationLuminance #11697A = 0.1163 · #F8FBFB = 0.9592 · (0.9592 + 0.05) / (0.1163 + 0.05) = 6.06:1 |
Chart color 2 on Slide background chart-2/slide | 3.28:1Projector, dimmed room: 2.53:1 | 3:1 WCAG 2.2, 1.4.11 | passes ✓CalculationLuminance #009E73 = 0.2569 · #F8FBFB = 0.9592 · (0.9592 + 0.05) / (0.2569 + 0.05) = 3.28:1 |
Chart color 3 on Slide background chart-3/slide | 3.71:1Projector, dimmed room: 2.74:1 | 3:1 WCAG 2.2, 1.4.11 | passes ✓CalculationLuminance #D55E00 = 0.2215 · #F8FBFB = 0.9592 · (0.9592 + 0.05) / (0.2215 + 0.05) = 3.71:1 |
Chart color 4 on Slide background chart-4/slide | 4.98:1Projector, dimmed room: 3.28:1 | 3:1 WCAG 2.2, 1.4.11 | passes ✓CalculationLuminance #0072B2 = 0.1525 · #F8FBFB = 0.9592 · (0.9592 + 0.05) / (0.1525 + 0.05) = 4.98:1 |
Decorative only
- Slide panel on Slide background: 1.11:1
With color vision deficiency
- Smallest distance between the chart colors: 8.8 (chart color 1/chart color 4, normal vision). Okabe-Ito: 7.9.
For comparison: Okabe-Ito 7.9 · simple rainbow 2.8. Reference values, not an established limit.
Not checked
your font sizes and weights, your projector, your screen and the real room light, images, gradients and transparency on the slides, whether chart series are labeled, mild forms of color vision deficiency
Rules (4)
- Research partly supported
Put dark text on a light slide background. In a study with three experiments this was the most legible on a laptop and on a projector, contrary to the common belief that light on dark is better for projection.
Sources: Greco et al. 2008 (abstract)
- Convention Farbsprache setting
Plan for 7:1 for text on screen, even though the limit is 4.5:1. On a projector, room light raises black and white by the same amount. In the simplified model, black on white keeps only 5.98:1 in the dimmed room from an example by Texas Instruments.
Sources: TI DLPA088 (full text)
- Convention Farbsprache setting
Check the slides in the actual room before the talk, with the lights that will be on, and from the back row. The model knows neither your projector nor your screen.
Sources: TI DLPA088 (full text)
- Standard
For enhanced contrast at level AAA, give text at least 7:1 and large text at least 4.5:1.
Sources: WCAG 2.2, 1.4.6 (full text)
Explained briefly
Why projectors eat contrast Research partly supported
A projector cannot make black darker than the screen under room light. The light in the room adds equally to black and white. So every contrast shrinks, and what is just enough on screen becomes too little on the projector.
In a simplified model after Texas Instruments, black on white keeps only 5.98:1 in their dimmed meeting room. Gray #595959 on white has 7.00:1 on screen and 3.99:1 on the projector, gray #767676 has 4.54:1 and 3.14:1. Black on white keeps 96.19:1 in a dark room and 2.66:1 in a bright room, with assumed room light.
So plan for 7:1 on screen. In a study, dark text on a light background was the most legible on a projector too.
What the contrast ratio measures Standard
The contrast ratio compares the lightness of two colors, more precisely their relative luminance. It ranges from identical colors up to 21:1 for black on white. WCAG 2.2 requires at least 4.5:1 for text and at least 3:1 for large text.
The threshold applies without rounding. Gray #777777 on white reaches 4.47:1 and so misses 4.5:1, even if a rounded display suggests otherwise. That is why this site truncates every contrast value instead of rounding it. The formula knows only luminance: a strong red and a gray of the same luminance have the same contrast against white.
Dark mode: own values instead of inversion Convention
A dark palette is not created by inverting. Apple describes dimmer backgrounds and brighter foregrounds for Dark Mode. They are not necessarily inversions of the light colors, and Apple recommends a bright and a dim variant for each custom color. That is why this site calculates dark mode on its own: background and surfaces get fixed dark lightness values, the accent a little less chroma, and every pair is checked again.
That the background is dark gray rather than black follows the example of Material Design and is not a legibility finding. Material justifies dark gray with shadows and eye strain but cites no study. The Farbsprache site itself uses #0B0B0B in dark mode, like its sister project Bildsprache.
Next
Values calculated at build time on October 31, 2026. Sources last retrieved on October 11, 2026.