Alice blue
Alice blue is a white with a faint blue tint. Hex code #F0F8FF.
Color codes
- CSS name
aliceblue - HEX
#F0F8FF - RGB
rgb(240 248 255) - HSL
hsl(208 100% 97%) - HSB / HSV
hsb(208, 6%, 100%) - OKLCH
oklch(97.5% 0.013 244.3) - CMYK
cmyk(6%, 3%, 0%, 0%)
White text
1.07:1 · fails WCAG
Black text
19.57:1 · passes WCAG AAA
Shades
Tones
About this color
Alice blue in CSS and design
Alice blue is a white with a faint blue tint. Alice blue is one of the extended color keywords, which CSS adopted from the X11 color names used on Unix workstations.
Use it in CSS by name or by any of its codes; these all give the same color:
color: aliceblue;
color: #F0F8FF;
color: rgb(240 248 255);
color: hsl(208 100% 97%);For text on alice blue, black reads best. Check other combinations with the contrast checker, or browse all CSS color names.
More tools
Work with this color
- Color picker and converterPick a color and get HEX, RGB, HSL, HSB, CMYK and OKLCH, plus shades and harmonies.
- Contrast checkerCheck text and background colors against WCAG AA and AAA, and fix failing ones.
- CSS color namesAll 148 named colors with hex codes, shades, contrast and matching palettes.
- Palette generatorBuild a color palette from harmony rules, with shades and CSS variables.
Frequently asked questions
What is the hex code for alice blue?
#F0F8FF. In CSS you can also use the keyword aliceblue, which works in every browser.
What is alice blue in RGB and HSL?
In RGB it is rgb(240 248 255), in HSL hsl(208 100% 97%). For print, cmyk(6%, 3%, 0%, 0%) is a starting point, but CMYK depends on paper and ink, so check with your printer.
Should I use black or white text on alice blue?
Black text works better: it has a contrast ratio of 19.57:1 and passes WCAG AAA. White text reaches 1.07:1.
Which colors go with alice blue?
As a neutral, alice blue goes with almost any color. It works well as a background, border or text color next to a vivid accent, and with the lighter and darker tones from its shades.