Aliceblue — #F0F8FF
#F0F8FF is a very light, vivid blue. It is the CSS named color aliceblue.
Color values
| HEX | #F0F8FF |
| RGB | rgb(240, 248, 255) |
| HSL | hsl(208, 100%, 97%) |
| CMYK | cmyk(6%, 3%, 0%, 0%) |
| Decimal | 15792383 |
| CSS | color: #F0F8FF; |
| Android | 0xFFF0F8FF |
| Swift | UIColor(red: 0.941, green: 0.973, blue: 1.000, alpha: 1) |
Accessibility and contrast
| White text on #F0F8FF | 1.07:1 — AA fail · AA large fail · AAA fail |
| Black text on #F0F8FF | 19.58:1 — AA pass · AA large pass · AAA pass |
| Recommended text color | black |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #F0F8FF
Each swatch keeps the hue and saturation of #F0F8FF and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #F0F8FF
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #F0F8FF in code
/* CSS */
.element { color: #F0F8FF; background-color: #F0F8FF; }
.element { color: rgb(240 248 255); }
.element { color: hsl(208 100% 97%); }
/* Tailwind arbitrary value */
<div class="bg-[#F0F8FF] text-black">
/* SCSS variable */
$brand: #F0F8FF;
Frequently asked questions
What color is #F0F8FF?
#F0F8FF is a very light, vivid blue, which CSS calls aliceblue. Its hue sits at 208° on the color wheel, with 100% saturation and 97% lightness.
What is #F0F8FF in RGB?
#F0F8FF converts to rgb(240, 248, 255) — 240 red, 248 green and 255 blue.
What is #F0F8FF in CMYK?
Approximately cmyk(6%, 3%, 0%, 0%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #F0F8FF be white or black?
Black gives the better contrast ratio (19.58:1 versus 1.07:1).
What is the complementary color of #F0F8FF?
#FFF7F0 — the hue directly opposite #F0F8FF on the color wheel.