#F0F0FA#F0F0FA

#F0F0FA is a very light, near-neutral blue. Relative luminance 0.877; OKLCH L 95.8% C 0.013 H 286.2°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#F0F0FA
RGBrgb(240, 240, 250)
HSLhsl(240, 50%, 96%)
HSVhsv(240, 4%, 98%)
CMYKcmyk(4%, 4%, 0%, 2%)
CIE-LABlab(95.05, 1.80, -4.81)
CIE-LCHlch(95.05, 5.13, 290.57°)
OKLaboklab(95.8% 0.0037 -0.0128)
OKLCHoklch(95.8% 0.013 286.2)
XYZxyz(84.3474, 87.7474, 102.9172)
Luminance0.8775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F0FA #FAFAF0
analogous
#F0F5FA #F0F0FA #F5F0FA
triadic
#F0F0FA #FAF0F0 #F0FAF0
tetradic
#F0F0FA #FAF0F5 #FAFAF0 #F0FAF5
square
#F0F0FA #FAF0F5 #FAFAF0 #F0FAF5
split-complementary
#F0F0FA #FAF5F0 #F5FAF0
monochromatic
#9494DB #C2C2EB #E8E8F7 #E8E8F7 #E8E8F7

Accessibility & contrast

On white

1.13
#F0F0FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.55
#F0F0FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F0FA
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F0FA#FFFFFF#000000##000000
##F0F0FA1.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEF1FB
Deuteranopia (green-blind)
#EEF0FA
Tritanopia (blue-blind)
#EEF2F3
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f0f0fa;
/* rgb */ color: rgb(240, 240, 250);
/* oklch */ color: oklch(95.8% 0.013 286.2);
Tailwind
colors: {
  custom: {
    50: '#f5f4fc',
    500: '#f0f0fa',
    950: '#000000',
  },
}
SCSS
$custom: #f0f0fa;
$custom-light: #f5f4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f0fa",
  "rgb": {
    "r": 240,
    "g": 240,
    "b": 250
  },
  "hsl": {
    "h": 240,
    "s": 50,
    "l": 96.078
  },
  "oklch": {
    "l": 0.95802,
    "c": 0.01334,
    "h": 286.2
  },
  "luminance": 0.87748
}

Semantic roles & 50–950 ramp

primary
#F0F0FA
secondary
#DBDBB4
accent
#BD28BD
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171717
muted
#858585

Preview Lab

Preview with #F0F0FA

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

Preview Lab → · Contrast checker → · Palette generator →

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