Dark text passes AAA
21:1

White

#FFFFFF

Pure white #FFFFFF is every channel at full strength, the brightest color a screen can show. Text on it needs to be fairly dark to pass WCAG AA: gray text must be at least as dark as #767676. Off-whites like #FAF9F6 can feel softer for large backgrounds.

HEX#FFFFFF
RGBrgb(255, 255, 255)
HSLhsl(0, 0%, 100%)
OKLCHoklch(100% 0 0)
CMYKcmyk(0%, 0%, 0%, 0%)
CMYK is an approximate screen conversion, not for print matching.

Lighter and darker

Ten steps toward white and ten toward black, with white in the middle. Click a step to copy its hex code.

LightestWhite #FFFFFFDarkest

Readability

White text on whiteNormal text at 16px. The quick brown fox jumps over the lazy dog.
1:1
  • Fails AA and AAA
Dark text on whiteNormal text at 16px. The quick brown fox jumps over the lazy dog.
21:1
  • Passes AA normal
  • Passes AA large
  • Passes AAA normal
  • Passes AAA large

Colors that go with white

#FFFFFF#FFFFFF

Complementary

The opposite on the color wheel
#FFFFFF#FFFFFF#FFFFFF

Analogous

Its two neighbors
#FFFFFF#FFFFFF#FFFFFF

Triadic

Three evenly spaced colors
#FFFFFF#FFFFFF#FFFFFF

Split-complementary

The two colors beside its opposite

White color palettes

Monochrome

Lighter and darker versions of the same color.

Analogous

Neighbors on the color wheel, for a calm, related look.

Complementary

The color with its opposite, for strong contrast.

Triadic

Three colors evenly spaced around the wheel, with a light and dark version.

Similar colors

  • Off White#FAF9F6
  • Snow White#FFFAFA
  • Ghost White#F8F8FF
  • Seashell#FFF5EE
  • Linen#FAF0E6
  • Alabaster#EDEAE0
  • Ivory#FFFFF0
  • Light Gray#D3D3D3

Questions about white

What is the hex code for white?

The hex code for white is #FFFFFF. In RGB it's rgb(255, 255, 255), and in HSL it's hsl(0, 0%, 100%).

What colors go with white?

Its complementary color is #FFFFFF. For a calmer look, try the analogous colors #FFFFFF and #FFFFFF, or one of the palettes above, which all include white.

Is text readable on white?

Dark text is the better choice, with a contrast ratio of 21:1. That passes WCAG AA for normal text.