White — #FFFFFF
The hex code for white is #FFFFFF — rgb(255, 255, 255), hsl(0.0, 0.0%, 100%). Use it in CSS as color: #FFFFFF;.
White is the lightest possible value — the color of snow, paper, and clouds. It reads as clean, simple, and spacious, and it makes other colors look brighter.
White color codes — click to copy
#FFFFFFrgb(255, 255, 255)hsl(0.0, 0.0%, 100%)hsv(0.0, 0%, 100%)cmyk(0%, 0%, 0%, 0%)Shades, tints & tones of white
Click any swatch to copy it.
White harmonies
Click a swatch to copy it.
Colors that go with white
| Color | Hex | |
|---|---|---|
| Black | #000000 | |
| Blue | #0000FF | |
| Red | #FF0000 | |
| Teal | #008080 |
Where white is used
Use white as a background to give content room to breathe. White space is not empty space: it is what makes a layout feel calm and professional. Remember that white text needs a dark background to be readable.
What white is often associated with: Cleanliness, simplicity, purity, and space.
Contrast — can you read text on white?
White text on white scores 1.00:1
Normal text: AA Fail AAA Fail
Large text (18pt+, or 14pt bold+): AA Fail AAA Fail
Black text scores 21.00:1Normal text: AA Pass AAA Pass
Large text (18pt+, or 14pt bold+): AA Pass AAA Pass
Check any pair in the contrast checker →How white looks with color blindness
Simulated with the Machado matrices. Click a swatch to copy the simulated color.
Protanopia
Deuteranopia
Tritanopia
This is a simulation for design checks, not a vision test. See the color blind simulator for any palette.
Frequently asked questions
What is the hex code for white?
The hex code for white is #FFFFFF.
What is the RGB of white?
The RGB of white is rgb(255, 255, 255).
What colors go with white?
Colors that go well with white include black (#000000), blue (#0000FF), red (#FF0000). See the pairings table on this page for the full list.
Is white a good color for a website?
White works well as an accent or background — black text on it scores 21.00:1, which passes WCAG AA. Check any pair in the contrast checker before you ship it.
What does the color white mean?
Cleanliness, simplicity, purity, and space.
Related tools
Color Picker · Color Names · Palette Generator · Complementary Colors · Contrast Checker