High Contrast Colors Registry Location in Windows
This article explains the exact Windows Registry paths where system-wide and user-specific high-contrast accessibility color definitions and theme settings are stored. Modifying these registry keys allows administrators and advanced users to configure custom color values, enable high-contrast accessibility flags, and ensure consistent color profiles across all user sessions and the Windows sign-in screen.
Current User Color Definitions
The active color values for the currently logged-in user, including high-contrast customizations, are stored as individual RGB string values under:
HKEY_CURRENT_USER\Control Panel\Colors
Within this key, standard interface elements are defined by
REG_SZ entries such as: * Window: The
background color of document windows (e.g., 0 0 0 for pure
black). * WindowText: The text color used within
windows (e.g., 255 255 255 for pure white). *
ButtonFace: The surface color of buttons and control
elements. * ButtonText: The text color on buttons. *
Hilight: The background color for selected items. *
HilightText: The text color of highlighted items. *
HotTrackingColor: The color used when hovering over
interactive elements.
System-Wide and Logon Screen Color Definitions
To apply high-contrast colors system-wide—such as on the Windows login screen, lock screen, and default user profile—the definitions are stored in the default user hive:
HKEY_USERS\.DEFAULT\Control Panel\Colors
Copying RGB values from HKEY_CURRENT_USER to this
location ensures accessibility color configurations apply before a user
signs in.
High Contrast Scheme and Flags
The configuration flags that determine whether High Contrast mode is active, along with the name of the assigned scheme, are located at:
- Current User:
HKEY_CURRENT_USER\Control Panel\Accessibility\HighContrast - System-Wide Default:
HKEY_USERS\.DEFAULT\Control Panel\Accessibility\HighContrast
The key values in this location include: * Flags: A
REG_SZ bitmask string representing the state of
accessibility features (for example, setting the value to
126 enables High Contrast mode and its associated hotkeys).
* High Contrast Scheme: Specifies the active
high-contrast preset name, such as High Contrast Black,
High Contrast White, High Contrast #1, or
High Contrast #2.
Applying Changes
Changes made directly to these registry keys require a system restart, a user sign-out and sign-in, or a refresh of the Windows Desktop Window Manager to take full visual effect.