Skip to content
#FFFFFF
#003087
#CC0000
#1A1A1A
Background
Text · AAA
Text · AA
Text · AAA

GovTech Color Palette

#FFFFFF · #003087 · #CC0000 · #1A1A1A

AAA
WCAG Grade
17.40:1
Contrast Ratio
AI Prompt

Use #FFFFFF as the background. Use #003087 as the primary accent. Use #CC0000 as secondary. Use #1A1A1A as body text. Palette: GovTech.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the GovTech 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: 100.0%
255, 255, 255 0%, 0%, 0%, 0% 0°, 0%, 100%
Text · AAA
Luminance: 3.9%
0, 48, 135 100%, 64%, 0%, 47% 219°, 100%, 26%
Text · AA
Luminance: 12.8%
204, 0, 0 0%, 100%, 100%, 20% 0°, 100%, 40%
Text · AAA
Luminance: 1.0%
26, 26, 26 0%, 0%, 0%, 90% 0°, 0%, 10%

GovTech 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 GovTech palette — click any swatch to copy its hex.

#FFFFFF neutral gray
#003087 saturated blue
#CC0000 saturated red
#1A1A1A neutral gray

GovTech 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
#1A1A1A on #FFFFFF
Aa Sample Text
17.40:1 AAA Body text, headings, UI
#FFFFFF on #1A1A1A
Aa Sample Text
17.40:1 AAA Body text, headings, UI
#003087 on #FFFFFF
Aa Sample Text
11.84:1 AAA Body text, headings, UI
#FFFFFF on #003087
Aa Sample Text
11.84:1 AAA Body text, headings, UI
#CC0000 on #FFFFFF
Aa Sample Text
5.88:1 AA Body text, UI
#FFFFFF on #CC0000
Aa Sample Text
5.88:1 AA Body text, UI
#1A1A1A on #CC0000
Aa Sample Text
2.95:1 Fail Decorative use only
#CC0000 on #1A1A1A
Aa Sample Text
2.95:1 Fail Decorative use only
#CC0000 on #003087
Aa Sample Text
2.01:1 Fail Decorative use only
#003087 on #CC0000
Aa Sample Text
2.01:1 Fail Decorative use only
#1A1A1A on #003087
Aa Sample Text
1.46:1 Fail Decorative use only
#003087 on #1A1A1A
Aa Sample Text
1.46:1 Fail Decorative use only

Palette Details

GovTech red-white-blue is civic pride applied to digital products — these are the colors of democratic institutions, made accessible for citizens rather than intimidating.

Color Harmony: No Single Classic Rule

Two hue groups sit 141° apart — 1 color around 0° and 1 color around 219°. That is neither complementary (180°) nor analogous (within about 60°).

Hue Wheel

Because the hue spacing is irregular, choose roles by measured contrast rather than by hue relationship.

History & Design Context

Government digital services (UK GDS, USDS) drove a significant improvement in government technology design from 2010 onwards, creating more accessible and usable civic digital products.

Best Design Use Cases

White for all citizen-facing surfaces. Navy for primary navigation and brand. Red for warnings, errors, and required elements. Dark for all text.

Measured best pair: #1A1A1A on #FFFFFF at 17.40:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.

Civic white, navy structure and red warnings

A public-service interface needs obvious roles more than a distinctive mood. White and #1A1A1A give 17.40:1 for body text, #003087 is the navy for navigation and official headers at 11.84:1 on white, and #CC0000 is reserved for errors, warnings and required fields.

Do not let the red drift into decoration or ordinary buttons; in a government context it reads as an alert. Pair every red state with an icon and text, keep links in the navy, and use white space to separate services rather than adding more colour.

Industries This Palette Suits

Startups & SaaS, Retail & E-commerce, Food & Beverage, Fashion, Agencies & Services, Non-profits.

Colors That Pair Well With GovTech

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.

orange

directly opposite #003087 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

blue

30° beside #003087 — a calm secondary that extends the palette without adding tension

tinted neutral

an ink-black carrying the palette's own hue — perfect for surfaces and dividers

Using GovTech Without Breaking Accessibility

  • Use #003087 for buttons and links — it scores 11.84:1 against the #FFFFFF background (above the 3:1 UI-components threshold).
  • Set body text in #1A1A1A — 17.40:1 against #FFFFFF passes WCAG AA (AAA) for long-form reading.
  • Let #CC0000 carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #003087.

How to Implement the GovTech Color Scheme

To use this GovTech 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 {
  /* GovTech — ihatecolors */
  --color-bg: #FFFFFF;
  --color-accent: #003087;
  --color-secondary: #CC0000;
  --color-text: #1A1A1A;
}

Web Design Tip

Use #FFFFFF as the page background and #003087 for primary buttons — they measure 11.84:1, which clears both the 3:1 UI threshold and the 4.5:1 body-text threshold.

Accessibility Note

Body copy in #1A1A1A on #FFFFFF measures 17.40:1, which passes WCAG AAA for normal text.

GovTech Palette — Frequently Asked Questions

What are the hex codes in the GovTech color palette?

The GovTech palette contains #FFFFFF, #003087, #CC0000, #1A1A1A. 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 GovTech color palette accessible (WCAG)?

Yes. #1A1A1A on #FFFFFF reaches 17.40: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 GovTech palette?

Beyond its own four colors, #B37400, #19077E, #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 GovTech palette create?

GovTech reads as authoritative, accessible, civic. 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 GovTech color palette commercially?

Yes. Individual color values can't be copyrighted, so the GovTech 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 GovTech 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 GovTech's exact values, including the tint and shade ramps shown above.

Live Preview
Generate Similar ✦