#F2F2F8#F2F2F8

#F2F2F8 is a very light, near-neutral blue. Relative luminance 0.892; OKLCH L 96.3% C 0.008 H 286.2°. Best body text is #000000 at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#F2F2F8
RGBrgb(242, 242, 248)
HSLhsl(240, 30%, 96%)
HSVhsv(240, 2%, 97%)
CMYKcmyk(2.4%, 2.4%, 0%, 2.7%)
CIE-LABlab(95.65, 1.07, -2.88)
CIE-LCHlch(95.65, 3.07, 290.41°)
OKLaboklab(96.29% 0.0022 -0.0077)
OKLCHoklch(96.29% 0.008 286.2)
XYZxyz(85.3104, 89.1587, 101.5037)
Luminance0.8916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F2F8 #F8F8F2
analogous
#F2F5F8 #F2F2F8 #F5F2F8
triadic
#F2F2F8 #F8F2F2 #F2F8F2
tetradic
#F2F2F8 #F8F2F5 #F8F8F2 #F2F8F5
square
#F2F2F8 #F8F2F5 #F8F8F2 #F2F8F5
split-complementary
#F2F2F8 #F8F5F2 #F5F8F2
monochromatic
#A2A2CD #CACAE3 #EBEBF4 #EBEBF4 #EBEBF4

Accessibility & contrast

On white

1.12
#F2F2F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.83
#F2F2F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F2F8
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F2F8#FFFFFF#000000##000000
##F2F2F81.001.1218.8318.83
#FFFFFF1.121.0021.0021.00
#00000018.8321.001.001.00
##00000018.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1F3F8
Deuteranopia (green-blind)
#F1F2F8
Tritanopia (blue-blind)
#F1F3F4
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2f2f8;
/* rgb */ color: rgb(242, 242, 248);
/* oklch */ color: oklch(96.3% 0.008 286.2);
Tailwind
colors: {
  custom: {
    50: '#f6f6fa',
    500: '#f2f2f8',
    950: '#000000',
  },
}
SCSS
$custom: #f2f2f8;
$custom-light: #f6f6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f2f8",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 248
  },
  "hsl": {
    "h": 240,
    "s": 30,
    "l": 96.078
  },
  "oklch": {
    "l": 0.96286,
    "c": 0.00798,
    "h": 286.2
  },
  "luminance": 0.89159
}

Semantic roles & 50–950 ramp

primary
#F2F2F8
secondary
#D3D3BB
accent
#A93DA9
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171717
muted
#858585

Preview Lab

Preview with #F2F2F8

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

Preview Lab → · Contrast checker → · Palette generator →

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