#F0F5FF#F0F5FF

#F0F5FF is a very light, near-neutral blue. Relative luminance 0.910; OKLCH L 96.9% C 0.014 H 264.5°. Best body text is #000000 at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#F0F5FF
RGBrgb(240, 245, 255)
HSLhsl(220, 100%, 97%)
HSVhsv(220, 6%, 100%)
CMYKcmyk(5.9%, 3.9%, 0%, 0%)
CIE-LABlab(96.43, 0.18, -5.36)
CIE-LCHlch(96.43, 5.37, 271.88°)
OKLaboklab(96.93% -0.0014 -0.0143)
OKLCHoklch(96.93% 0.014 264.5)
XYZxyz(86.6341, 91.0496, 107.5985)
Luminance0.9105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F5FF #FFFAF0
analogous
#F0FDFF #F0F5FF #F3F0FF
triadic
#F0F5FF #FFF0F5 #F5FFF0
tetradic
#F0F5FF #FFF0FD #FFFAF0 #F0FFF3
square
#F0F5FF #FFF0FD #FFFAF0 #F0FFF3
split-complementary
#F0F5FF #FFF3F0 #FDFFF0
monochromatic
#76A3FF #B3CCFF #E0EBFF #E0EBFF #E0EBFF

Accessibility & contrast

On white

1.09
#F0F5FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.21
#F0F5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F5FF
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F5FF#FFFFFF#000000##000000
##F0F5FF1.001.0919.2119.21
#FFFFFF1.091.0021.0021.00
#00000019.2121.001.001.00
##00000019.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2F5FF
Deuteranopia (green-blind)
#F1F4FF
Tritanopia (blue-blind)
#EDF7F8
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f0f5ff;
/* rgb */ color: rgb(240, 245, 255);
/* oklch */ color: oklch(96.9% 0.014 264.5);
Tailwind
colors: {
  custom: {
    50: '#f5f8ff',
    500: '#f0f5ff',
    950: '#000000',
  },
}
SCSS
$custom: #f0f5ff;
$custom-light: #f5f8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f5ff",
  "rgb": {
    "r": 240,
    "g": 245,
    "b": 255
  },
  "hsl": {
    "h": 220,
    "s": 100,
    "l": 97.059
  },
  "oklch": {
    "l": 0.96926,
    "c": 0.01441,
    "h": 264.5
  },
  "luminance": 0.9105
}

Semantic roles & 50–950 ramp

primary
#F0F5FF
secondary
#EFD6A4
accent
#9900E6
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171718
muted
#858586

Preview Lab

Preview with #F0F5FF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#F0F5FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva