Alice Blue
Hex #F0F8FF, rgb(240 248 255). A white CSS named color.
Open in palette generatorAlice Blue color codes
Click any value to copy it.
- HEX
- RGB
- HSL
- HSV
- HWB
- CMYK
- OKLCH
- OKLab
- Lab
- LCH
- CSS keyword
About Alice Blue
Alice Blue is a very light near-white with the hex code #F0F8FF. In RGB it is made of 240 red, 248 green and 255 blue; in HSL its hue is 208°, with 100% saturation and 97% lightness. Its perceptual lightness (OKLCH L) is 97.5%.
It is a CSS named color, so you can write "aliceblue" anywhere CSS accepts a color. Against white it has a contrast ratio of 1.07:1 and against black 19.58:1, so black text reads better on it and passes WCAG AA for normal text.
Tints, shades and tones
Alice Blue mixed step by step with white, black and middle gray (#808080).
Tints (with white)
Shades (with black)
Tones (with gray)
Alice Blue 50-950 scale
A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.
Colors that go with Alice Blue
Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.
Complementary
Analogous
Split complementary
Monochromatic
Contrast and readability
WCAG 2 contrast of Alice Blue with white and black. The readable text color on Alice Blue is black.
On white1.07:1
- AA fail
- AA Large fail
- AAA fail
- UI 3:1 fail
APCA Lc 0
On black19.58:1
- AA pass
- AA Large pass
- AAA pass
- UI 3:1 pass
APCA Lc -103
Test any pair in the contrast checker.
Color blindness preview
How Alice Blue appears with each type of color vision deficiency (simulated with the Machado model).
- Protanopia#F5F8FF
- Deuteranopia#F3F6FF
- Tritanopia#EDFAFA
- Protanomaly#F4F8FF
- Deuteranomaly#F3F7FF
- Tritanomaly#EFF9FD
- Achromatopsia#F7F7F7
Colors similar to Alice Blue
The closest named colors by perceptual difference (OKLab).
Use Alice Blue in CSS and Tailwind
.alice-blue {
color: aliceblue; /* #F0F8FF */
background-color: rgb(240 248 255);
border-color: oklch(97.5% 0.013 244.3);
}/* Tailwind CSS v4: bg-alice-blue-500, text-alice-blue-700... */
@theme {
--color-alice-blue-50: #F0F8FF;
--color-alice-blue-100: #DBEDFD;
--color-alice-blue-200: #BBDDFA;
--color-alice-blue-300: #84C4F9;
--color-alice-blue-400: #2DA1F1;
--color-alice-blue-500: #008AD7;
--color-alice-blue-600: #0076B9;
--color-alice-blue-700: #005F96;
--color-alice-blue-800: #004C7A;
--color-alice-blue-900: #003E64;
--color-alice-blue-950: #00182B;
}
<!-- or the exact color, no config -->
<div class="bg-[#F0F8FF] text-[#000000]">…</div>