#FFFFFF
white
#FFFFFF is the CSS named color "white", an exact match. In RGB it breaks down to red 255, green 255, and blue 255 out of 255 each. In HSL terms that's a hue of 0°, 0% saturation, and 100% lightness: very light, close to white — it works best as a background with dark text on top, not as text on a light page.
Every format
| HEX | #ffffff |
| RGB | rgb(255, 255, 255) |
| HSL | hsl(0° 0% 100%) |
| HSB | hsb(0° 0% 100%) |
| OKLCH | oklch(100% 0.000 0°) |
| OKLAB | oklab(100% 0.000 0.000) |
| LCH | lch(100% 0.0 0°) |
| CMYK | cmyk(0% 0% 0% 0%) |
Shades (darker)
#ffffff · #e4e4e4 · #cacaca · #b1b1b1 · #989898
Tints (lighter)
#ffffff · #ffffff · #ffffff · #ffffff · #ffffff
Shades mix #FFFFFF toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.
On white: 1.00:1 — fails
On black: 21.00:1 — AAA
Frequently asked
- What is #FFFFFF in RGB?
- #FFFFFF is rgb(255, 255, 255) — red 255, green 255, blue 255 out of 255 each.
- Does #FFFFFF pass WCAG contrast on a white background?
- It has a contrast ratio of 1.00:1 against white, which fails for normal text.
- What's a good background color to pair with #FFFFFF?
- Black text or a black background gives better contrast (21.00:1) than white (1.00:1).