#9FAAF2#9FAAF2

#9FAAF2 is a light, moderate blue. Relative luminance 0.425; OKLCH L 75.7% C 0.104 H 276.9°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#9FAAF2
RGBrgb(159, 170, 242)
HSLhsl(232, 76%, 79%)
HSVhsv(232, 34%, 95%)
CMYKcmyk(34.3%, 29.8%, 0%, 5.1%)
CIE-LABlab(71.23, 12.81, -37.18)
CIE-LCHlch(71.23, 39.33, 289.00°)
OKLaboklab(75.67% 0.0126 -0.1035)
OKLCHoklch(75.67% 0.104 276.9)
XYZxyz(44.6953, 42.5296, 89.8413)
Luminance0.4253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAAF2 #F2E79F
analogous
#9FD3F2 #9FAAF2 #BD9FF2
triadic
#9FAAF2 #F29FAA #AAF29F
tetradic
#9FAAF2 #F29FD3 #F2E79F #9FF2BD
square
#9FAAF2 #F29FD3 #F2E79F #9FF2BD
split-complementary
#9FAAF2 #F2BD9F #D3F29F
monochromatic
#334BE3 #697AEB #9FAAF2 #D5DAF9 #E4E7FB

Accessibility & contrast

On white

2.21
#9FAAF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#9FAAF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAAF2
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAAF2#FFFFFF#000000##000000
##9FAAF21.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B2F5
Deuteranopia (green-blind)
#8EABF0
Tritanopia (blue-blind)
#88B8C4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9faaf2;
/* rgb */ color: rgb(159, 170, 242);
/* oklch */ color: oklch(75.7% 0.104 276.9);
Tailwind
colors: {
  custom: {
    50: '#bdc3f6',
    500: '#9faaf2',
    950: '#000000',
  },
}
SCSS
$custom: #9faaf2;
$custom-light: #bdc3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9faaf2",
  "rgb": {
    "r": 159,
    "g": 170,
    "b": 242
  },
  "hsl": {
    "h": 232.048,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75672,
    "c": 0.10426,
    "h": 276.9
  },
  "luminance": 0.42531
}

Semantic roles & 50–950 ramp

primary
#9FAAF2
secondary
#F3EFD8
accent
#BD0DD8
background
#FBFBFF
surface
#F7F7FE
border
#D0D0D6
text
#121217
muted
#818185

Preview Lab

Preview with #9FAAF2

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

Preview Lab → · Contrast checker → · Palette generator →

#9FAAF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva