#F0F9FF color
The swatch above shows #F0F9FF with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.
#F0F9FF is a very light, vivid blue, closest to the CSS named color aliceblue (#F0F8FF).
It is also a Tailwind CSS default: sky-50. That means you can write bg-sky-50 or text-sky-50 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #F0F9FF |
| RGB | rgb(240, 249, 255) |
| HSL | hsl(204, 100%, 97%) |
| CMYK | cmyk(6%, 2%, 0%, 0%) |
| Decimal | 15792639 |
| CSS | color: #F0F9FF; |
| Android | 0xFFF0F9FF |
| Swift | UIColor(red: 0.941, green: 0.976, blue: 1.000, alpha: 1) |
Accessibility and contrast
| White text on #F0F9FF | 1.07:1 — AA fail · AA large fail · AAA fail |
| Black text on #F0F9FF | 19.70: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 #F0F9FF
Each swatch keeps the hue and saturation of #F0F9FF and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #F0F9FF
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #F0F9FF in code
/* CSS */
.element { color: #F0F9FF; background-color: #F0F9FF; }
.element { color: rgb(240 249 255); }
.element { color: hsl(204 100% 97%); }
/* Tailwind */
<div class="bg-sky-50 text-black">
/* SCSS variable */
$brand: #F0F9FF;
Frequently asked questions
What color is #F0F9FF?
#F0F9FF is a very light, vivid blue. Its hue sits at 204° on the color wheel, with 100% saturation and 97% lightness.
What is #F0F9FF in RGB?
#F0F9FF converts to rgb(240, 249, 255) — 240 red, 249 green and 255 blue.
What is #F0F9FF in CMYK?
Approximately cmyk(6%, 2%, 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 #F0F9FF be white or black?
Black gives the better contrast ratio (19.70:1 versus 1.07:1).
What is the complementary color of #F0F9FF?
#FFF6F0 — the hue directly opposite #F0F9FF on the color wheel.