aliceblue — #F0F8FF
#F0F8FF
rgb(240, 248, 255) · hsl(208, 100%, 97%) · CSS keyword aliceblue
Can you put text on it?
| Contrast | Body text | Large text | |
|---|---|---|---|
| aliceblue on white | 1.07:1 | — | — |
| aliceblue on black | 19.58:1 | AA | AA |
As a background, aliceblue takes black text: 19.58:1 against 1.07:1 the other way. A colour picker will give you the hex and stop there, which is why so many palettes look right and fail an accessibility audit.
Using it
color: aliceblue;
color: #f0f8ff;
color: rgb(240 248 255);
All three are the same colour. The keyword is one of the 141 CSS named colours — a list settled in CSS 2.1 and added to exactly once since, when rebeccapurple was standardised in 2014.
Colours close to aliceblue
- ghostwhite — #F8F8FF
- whitesmoke — #F5F5F5
- azure — #F0FFFF
- mintcream — #F5FFFA
- honeydew — #F0FFF0
- snow — #FFFAFA
Frequently asked questions
What is the hex code for aliceblue?
The hex code for aliceblue is #F0F8FF — RGB 240, 248, 255.
Can I use aliceblue for text?
Not on a white background. aliceblue reaches only 1.07:1, and WCAG AA asks for 4.5:1. It works as a background or a border, not as ink.
Should text on aliceblue be black or white?
Black — 19.58:1 against 1.07:1 the other way.
Other named colours
- antiquewhite — #FAEBD7
- aqua — #00FFFF
- aquamarine — #7FFFD4
- azure — #F0FFFF
- beige — #F5F5DC
- bisque — #FFE4C4
- black — #000000
- blanchedalmond — #FFEBCD
- blue — #0000FF
- blueviolet — #8A2BE2
- brown — #A52A2A
- burlywood — #DEB887
#F0F8FF in full — tints, shades and harmonies · All named colours · Colour reference