Skip to main content
matte

#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
RGBrgb(255, 255, 255)
HSLhsl(0° 0% 100%)
HSBhsb(0° 0% 100%)
OKLCHoklch(100% 0.000 0°)
OKLABoklab(100% 0.000 0.000)
LCHlch(100% 0.0 0°)
CMYKcmyk(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).

Related colors

Full color tools