Python

Python language brand palette anchored on the two-snake logo's canonical pairing: Python Blue (#3776AB) and Python Yellow (#FFD43B). The PSF logo combines them at equal weight; consumer surfaces typically use blue as the primary identity and yellow as the high-energy accent. A neutral set rounds out the page-level light and dark canvases.

11 swatches 14 light roles 14 dark roles pythonprogramming-languageopen-sourceblueyellowpsf

Swatches

python-blue
#3776AB
Primary brand color — the upper snake of the two-snake mark. Used as the dominant identity color across python.org.
python-yellow
#FFD43B
Secondary brand color — the lower snake of the two-snake mark and the high-energy accent for callouts and CTAs.
python-dark-blue
#1E415E
Deeper navy used for hover states and the dark-mode canvas.
python-dark-yellow
#FFC331
Deeper amber used for hover states on the yellow accent.
python-black
#0E1217
Dark-mode page canvas.
python-charcoal
#1C232C
Elevated dark surface.
python-gray
#646464
Mid neutral for body text and dividers.
python-light-gray
#D5D5D5
Hairline borders on light canvas.
python-off-white
#F4F4F4
Subtle layered surface on light canvas.
python-white
#FFFFFF
Page canvas in light mode.
python-success
#3F924B
Status success color — used in PEP/issue badges.

Mode role mappings

Light mode (14 roles)

accent → python-yellow
accent-hover → python-dark-yellow
background → python-white
error → python-dark-yellow
primary → python-blue
primary-hover → python-dark-blue
success → python-success
surface → python-off-white
surface-elevated → python-white
text-primary → python-dark-blue
text-secondary → python-gray
text-tertiary → python-blue
warning → python-yellow
warning-hover → python-dark-yellow

Dark mode (14 roles)

accent → python-blue
accent-hover → python-dark-blue
background → python-black
error → python-dark-yellow
primary → python-yellow
primary-hover → python-dark-yellow
success → python-success
surface → python-charcoal
surface-elevated → python-charcoal
text-primary → python-white
text-secondary → python-light-gray
text-tertiary → python-yellow
warning → python-yellow
warning-hover → python-dark-yellow

Provenance

Source
https://www.python.org/community/logos/
License
Proprietary — All Rights Reserved
Attribution
The Python logo and word mark are trademarks of the Python Software Foundation. Brand colors documented here are the community-known PSF logo hex values (#3776AB / #FFD43B), consistent across the Python logo SVG distributed at python.org/community/logos and the value published by the simple-icons project (simpleicons.org/icons/python).
Imported
2026-05-18
Notes
Hex values reflect the PSF two-snake logo's blue and yellow as they appear in the canonical SVG distributed by the Foundation. The PSF logo is light-first; the dark-mode role mapping below is brand-atoms' sensible inversion (deep navy canvas, blue identity preserved).