Color Converter (HEX, RGB, HSL)→Specialized Version
🎨

White HEX Code

White color HEX code

HEX in
#FFFFFF
RGB out
rgb(255, 255, 255)
RGB
HSL

All formats

Lightness variations

White HEX Code

The HEX code for pure white is #FFFFFF. White represents maximum brightness in the RGB color model, with all three color channels (red, green, blue) at their highest values of 255. White is the absence of color in subtractive mixing (print) but the combination of all colors in additive mixing (screens).

White Color Values

FormatValue
HEX#FFFFFF
RGBrgb(255, 255, 255)
HSLhsl(0, 0%, 100%)
CMYKC:0 M:0 Y:0 K:0

White and Off-White Shades

Pure white can be harsh on screens. Designers often use off-white shades for backgrounds and content areas:

ShadeHEXDescription
White#FFFFFFPure white
Snow#FFFAFAWarm, pinkish white
Ivory#FFFFF0Warm, yellowish white
Seashell#FFF5EEWarm, peachy white
Ghost White#F8F8FFCool, bluish white
Whitesmoke#F5F5F5Light gray-white
Floral White#FFFAF0Warm cream
Linen#FAF0E6Warm beige-white
Antique White#FAEBD7Yellow-tinted white

White in Design

White conveys:

  • Cleanliness: Medical, hygiene products
  • Simplicity: Minimalist design, Apple aesthetic
  • Space: Creates breathing room
  • Purity: Weddings, formal occasions

Using White Effectively

``css /* Pure white - can be harsh */ .container { background-color: #FFFFFF; }

/* Softer off-white for content */ .content { background-color: #FAFAFA; }

/* Warm white for comfort */ .cozy-section { background-color: #FFF8F5; } `

White Space in Web Design

White space (or negative space) is crucial for:

  • Readability: Text needs breathing room
  • Focus: Highlighting important elements
  • Elegance: Premium, sophisticated feel
  • Usability: Reducing cognitive load

Pure White vs Off-White

Use CaseRecommendation
Text backgroundsOff-white (#F5F5F5)
Modals/cardsWhite or light off-white
High contrast needsPure white
Eye comfortWarm off-whites
Use pure white strategically, and consider off-white shades for large background areas to reduce eye strain.

A Full Ramp From This Colour

Design systems settle on a 50–900 scale because it covers backgrounds, borders, text and states without anyone reaching outside the palette. Mixing toward white and black rather than adjusting HSL lightness keeps more of the hue's character:

StepColourContrast on whiteSafe for
50#F5F9FF1.06:1backgrounds and fills
100#EBF3FE1.12:1backgrounds and fills
200#CEE0FD1.34:1backgrounds and fills
300#B1CDFB1.62:1backgrounds and fills
400#76A8F92.40:1backgrounds and fills
500#3B82F63.68:1large text, borders
600#326FD14.85:1body text on white
700#295BAC6.59:1body text on white
800#2048878.98:1body text on white
900#18346212.31:1body text on white
The contrast column is the one that decides usage. Steps below 3:1 cannot carry text at any size and belong in fills and dividers; steps at 4.5:1 and above are safe for body copy.

Adjusting It

Base colour in HSL is hsl(217, 91%, 60%). Two useful moves:

`css /* +10% lightness, same hue */ --lighter: #6da2f8; /* −10% lightness */ --darker: #0b64f4; ``

Raising lightness also drops perceived saturation, so a lightened colour reads greyer than its numbers suggest. Adding 5–10% saturation alongside every 20% of lightness keeps the ramp looking like one hue rather than a fade to grey.

Frequently Asked Questions

What is white in HEX?

#FFFFFF is pure white, with all RGB values at maximum (255, 255, 255).

Is #FFFFFF too bright?

For large backgrounds, yes. Consider off-white shades like #FAFAFA or #F5F5F5 for better eye comfort.

What is the best off-white for web design?

#F5F5F5 (Whitesmoke) or #FAFAFA are popular choices that are softer than pure white.

Related Tools

Explore other tools you might find useful:

More Color Converter (HEX, RGB, HSL) tools

You might also need