Color & Contrast Reference
Civil Commitment Case Management — every foreground/background pair used in the interface, with its measured contrast ratio against the WCAG 2.1 AA requirement. All text pairs meet or exceed 4.5:1; all non-text indicators meet or exceed 3:1. Automated verification: axe-core (wcag2a, wcag2aa, wcag21a, wcag21aa rulesets) reports zero violations on all thirteen screens.
| Sample | Foreground | Background | Used for | Measured | Headroom |
|---|---|---|---|---|---|
| Body text — minimum required 4.5:1 | |||||
| Aa | #1B2A41 | #F7F5F0 | Ink on page backgroundAll body text | 13.25:1 | 2.9× the minimum |
| Aa | #1B2A41 | #FFFFFF | Ink on white panelsTables, cards, forms | 14.44:1 | 3.2× the minimum |
| Aa | #44506A | #F7F5F0 | Secondary ink on pageLedes, hints, labels | 7.41:1 | 1.6× the minimum |
| Aa | #44506A | #FFFFFF | Secondary ink on panelsTable headers, captions | 8.07:1 | 1.8× the minimum |
| Aa | #5C6579 | #FFFFFF | Muted text on panelsStruck entries, station states | 5.85:1 | 1.3× the minimum |
| Semantic color (text that carries status — never color alone) — minimum required 4.5:1 | |||||
| Aa | #8E2A35 | #FFFFFF | Oxide red on whiteRefusals, struck reasons, errors | 8.29:1 | 1.8× the minimum |
| Aa | #73222B | #F7ECED | Denied/overdue chipChip text on red wash | 9.12:1 | 2.0× the minimum |
| Aa | #1F4F43 | #EAF2EF | Entered/complete chipChip text on green wash | 8.17:1 | 1.8× the minimum |
| Aa | #5F4A16 | #F6F0DF | Pending/temporary chipChip text on amber wash | 7.45:1 | 1.7× the minimum |
| Aa | #1D3F74 | #EAF0F9 | Informational chipChip text on blue wash | 9.10:1 | 2.0× the minimum |
| Aa | #7A5E1E | #FFFFFF | Brass on whiteTemporary docket numbers | 6.09:1 | 1.4× the minimum |
| Aa | #2E6E5E | #FFFFFF | Verdigris on whiteAffirmative accents | 5.99:1 | 1.3× the minimum |
| Reversed text (navigation rail and buttons) — minimum required 4.5:1 | |||||
| Aa | #FFFFFF | #1B2A41 | White on inkPrimary buttons, rail brand | 14.44:1 | 3.2× the minimum |
| Aa | #E6EAF2 | #1B2A41 | Rail link textNavigation items | 11.98:1 | 2.7× the minimum |
| Aa | #B9C2D4 | #1B2A41 | Rail secondary textSubtitles, user role | 8.07:1 | 1.8× the minimum |
| Aa | #FFFFFF | #2E6E5E | White on verdigrisAffirm buttons | 5.99:1 | 1.3× the minimum |
| Non-text contrast (WCAG 1.4.11 — 3:1 minimum) — minimum required 3.0:1 | |||||
| #1455B4 | #F7F5F0 | Focus indicator on page3px ring, every control | 6.45:1 | 2.2× the minimum | |
| #1455B4 | #FFFFFF | Focus indicator on panels3px ring, every control | 7.03:1 | 2.3× the minimum | |
| #828BA0 | #FFFFFF | Form input bordersText fields, selects | 3.41:1 | 1.1× the minimum | |
| #C9A24B | #1B2A41 | Current-page marker on railGold bar | 6.02:1 | 2.0× the minimum | |
Note on tone: WCAG sets a minimum contrast, not a style. The palette above deliberately uses deep navy ink (#1B2A41) on warm off-white paper (#F7F5F0) rather than pure black on pure white (21:1) — gentler for staff in the system all day, while clearing every AA threshold with comfortable headroom. If any pair needs adjusting to match county conventions, there is room to move in either direction without falling below the requirement.