#F0F8FF color codes
- HEX
- #F0F8FF
- HEX8
- #F0F8FFFF
- HEX8 (Android)
- #FFF0F8FF
- RGB
- rgb(240, 248, 255)
- RGB (%)
- 94%, 97%, 100%
- HSL
- hsl(208, 100%, 97%)
- HSV / HSB
- hsv(208, 6%, 100%)
- CMYK
- cmyk(6%, 3%, 0%, 0%)
- OKLCH
- oklch(0.9751 0.0127 244.25)
- OKLCH (%)
- oklch(97.51% 0.0127 244.25)
- Decimal
- 15792383
What color is #F0F8FF?
#F0F8FF sits at 98% lightness and 0.0127 chroma in OKLCH, hue 244.25°. Its nearest named color is AliceBlue (an exact match).
Shades and tints of #F0F8FF
Tints
Shades
Tones
#F0F8FF color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #F0F8FF in CSS
.text { color: #F0F8FF; }
.background { background-color: #F0F8FF; }
.border { border: 2px solid #F0F8FF; }
/* Modern, perceptually uniform */
.text { color: oklch(0.9751 0.0127 244.25); }
/* #F0F8FF at 50% transparency */
.overlay { background-color: #F0F8FF80; }Is #F0F8FF accessible?
#F0F8FF on white text scores 1.07:1; on black text it scores 19.58:1. Black text passes WCAG AAA on #F0F8FF. Recommended text color on a #F0F8FF background: black.
A 19.58:1 vs black
A 1.07:1 vs white
- AA normal ≥ 4.5 Pass
- AA large ≥ 3 Pass
- AAA normal ≥ 7 Pass
- AAA large ≥ 4.5 Pass
Recommended text color: black
CSS
contrast-color() contrast-color(#F0F8FF) → black APCA Lc experimental 101.2 Lc · body text — preferred (black text)
WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.
Related colors
Nearest featured color: White #FFFFFF. See more in the white family on the colors hub.
Frequently asked questions
- What color is #F0F8FF?
- #F0F8FF is AliceBlue. In RGB it is rgb(240, 248, 255), and in HSL hsl(208, 100%, 97%).
- What is #F0F8FF in RGB?
- #F0F8FF converts to rgb(240, 248, 255) — red 240, green 248, blue 255.
- What text color is readable on #F0F8FF?
- Black text — it has the higher contrast ratio (19.58:1) against #F0F8FF. Black text passes WCAG AAA on #F0F8FF.