#9FA8EF#9FA8EF

#9FA8EF is a light, moderate blue. Relative luminance 0.416; OKLCH L 75.1% C 0.103 H 278.1°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#9FA8EF
RGBrgb(159, 168, 239)
HSLhsl(233, 71%, 78%)
HSVhsv(233, 33%, 94%)
CMYKcmyk(33.5%, 29.7%, 0%, 6.3%)
CIE-LABlab(70.60, 13.16, -36.54)
CIE-LCHlch(70.60, 38.83, 289.80°)
OKLaboklab(75.14% 0.0144 -0.1016)
OKLCHoklch(75.14% 0.103 278.1)
XYZxyz(43.8763, 41.6067, 87.3637)
Luminance0.4161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA8EF #EFE69F
analogous
#9FD0EF #9FA8EF #BE9FEF
triadic
#9FA8EF #EF9FA8 #A8EF9F
tetradic
#9FA8EF #EF9FD0 #EFE69F #9FEFBE
square
#9FA8EF #EF9FD0 #EFE69F #9FEFBE
split-complementary
#9FA8EF #EFBE9F #D0EF9F
monochromatic
#3649DE #6B78E6 #9FA8EF #D3D8F8 #E5E7FB

Accessibility & contrast

On white

2.25
#9FA8EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#9FA8EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA8EF
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA8EF#FFFFFF#000000##000000
##9FA8EF1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B0F2
Deuteranopia (green-blind)
#8DAAED
Tritanopia (blue-blind)
#89B5C1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #9fa8ef;
/* rgb */ color: rgb(159, 168, 239);
/* oklch */ color: oklch(75.1% 0.103 278.1);
Tailwind
colors: {
  custom: {
    50: '#bdc1f4',
    500: '#9fa8ef',
    950: '#000000',
  },
}
SCSS
$custom: #9fa8ef;
$custom-light: #bdc1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa8ef",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 239
  },
  "hsl": {
    "h": 233.25,
    "s": 71.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.7514,
    "c": 0.10266,
    "h": 278.1
  },
  "luminance": 0.41608
}

Semantic roles & 50–950 ramp

primary
#9FA8EF
secondary
#F2EFD9
accent
#BE12D3
background
#FBFBFE
surface
#F7F7FD
border
#D0D0D5
text
#121217
muted
#818185

Preview Lab

Preview with #9FA8EF

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

Preview Lab → · Contrast checker → · Palette generator →

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