#F0F8FF
aliceblue
#F0F8FF is the CSS named color "aliceblue", an exact match. In RGB it breaks down to red 240, green 248, and blue 255 out of 255 each. In HSL terms that's a hue of 208°, 100% saturation, and 97% lightness: very light, close to white — it works best as a background with dark text on top, not as text on a light page.
Every format
| HEX | #f0f8ff |
| RGB | rgb(240, 248, 255) |
| HSL | hsl(208° 100% 97%) |
| HSB | hsb(208° 6% 100%) |
| OKLCH | oklch(98% 0.013 244°) |
| OKLAB | oklab(98% -0.006 -0.011) |
| LCH | lch(97% 4.7 248°) |
| CMYK | cmyk(6% 3% 0% 0%) |
Shades (darker)
#f0f8ff · #d6dee5 · #bdc5cc · #a5acb3 · #8d949a
Tints (lighter)
#f0f8ff · #f1f9ff · #f2faff · #f2faff · #f3fbff
Shades mix #F0F8FF toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.
On white: 1.07:1 — fails
On black: 19.58:1 — AAA
Frequently asked
- What is #F0F8FF in RGB?
- #F0F8FF is rgb(240, 248, 255) — red 240, green 248, blue 255 out of 255 each.
- Does #F0F8FF pass WCAG contrast on a white background?
- It has a contrast ratio of 1.07:1 against white, which fails for normal text.
- What's a good background color to pair with #F0F8FF?
- Black text or a black background gives better contrast (19.58:1) than white (1.07:1).