#F0F8FF
aliceblue
#F0F8FF is a blue colour. In RGB it is 240 red, 248 green and 255 blue, which converts to a hue of 208 degrees, 100% saturation and 97% lightness. It is one of the named CSS colours, written as aliceblue in stylesheets.
Color values
| HEX | #F0F8FF |
|---|---|
| RGB | rgb(240, 248, 255) |
| HSL | hsl(208, 100%, 97%) |
| HSV | hsv(208, 6%, 100%) |
| CMYK | cmyk(6%, 3%, 0%, 0%) |
Contrast and accessibility
Against white the contrast ratio is 1.07:1, and against black it is 19.58:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 1.07:1 | Fail | Fail |
| Black | 19.58:1 | AAA | AAA |
Tints and shades
Lighter tints move #F0F8FF toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #F0F8FF; |
|---|---|
| CSS rgb() | color: rgb(240 248 255); |
| Tailwind | bg-[#f0f8ff] |
| SwiftUI | Color(red: 0.941, green: 0.973, blue: 1.000) |
| Android | Color.parseColor("#F0F8FF") |