#9FA8EB#9FA8EB

#9FA8EB is a light, moderate blue. Relative luminance 0.414; OKLCH L 75.0% C 0.097 H 277.9°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#9FA8EB
RGBrgb(159, 168, 235)
HSLhsl(233, 66%, 77%)
HSVhsv(233, 32%, 92%)
CMYKcmyk(32.3%, 28.5%, 0%, 7.8%)
CIE-LABlab(70.44, 12.13, -34.61)
CIE-LCHlch(70.44, 36.67, 289.32°)
OKLaboklab(74.96% 0.0133 -0.0961)
OKLCHoklch(74.96% 0.097 277.9)
XYZxyz(43.2919, 41.3729, 84.2859)
Luminance0.4137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA8EB #EBE29F
analogous
#9FCEEB #9FA8EB #BC9FEB
triadic
#9FA8EB #EB9FA8 #A8EB9F
tetradic
#9FA8EB #EB9FCE #EBE29F #9FEBBC
square
#9FA8EB #EB9FCE #EBE29F #9FEBBC
split-complementary
#9FA8EB #EBBC9F #CEEB9F
monochromatic
#3A4CD6 #6C7AE0 #9FA8EB #D2D6F6 #E6E8FA

Accessibility & contrast

On white

2.26
#9FA8EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#9FA8EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA8EB
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA8EB#FFFFFF#000000##000000
##9FA8EB1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AFEE
Deuteranopia (green-blind)
#8FAAE9
Tritanopia (blue-blind)
#8BB5C0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #9fa8eb;
/* rgb */ color: rgb(159, 168, 235);
/* oklch */ color: oklch(75.0% 0.097 277.9);
Tailwind
colors: {
  custom: {
    50: '#bdc1f1',
    500: '#9fa8eb',
    950: '#000000',
  },
}
SCSS
$custom: #9fa8eb;
$custom-light: #bdc1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa8eb",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 235
  },
  "hsl": {
    "h": 232.895,
    "s": 65.517,
    "l": 77.255
  },
  "oklch": {
    "l": 0.7496,
    "c": 0.09704,
    "h": 277.9
  },
  "luminance": 0.41374
}

Semantic roles & 50–950 ramp

primary
#9FA8EB
secondary
#F1EEDA
accent
#B818CD
background
#FBFBFE
surface
#F7F7FD
border
#D0D0D5
text
#121217
muted
#818185

Preview Lab

Preview with #9FA8EB

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

Preview Lab → · Contrast checker → · Palette generator →

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