#9FA8FE#9FA8FE

#9FA8FE is a light, vivid blue. Relative luminance 0.425; OKLCH L 75.8% C 0.124 H 278.4°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#9FA8FE
RGBrgb(159, 168, 254)
HSLhsl(234, 98%, 81%)
HSVhsv(234, 37%, 100%)
CMYKcmyk(37.4%, 33.9%, 0%, 0.4%)
CIE-LABlab(71.23, 17.08, -43.69)
CIE-LCHlch(71.23, 46.91, 291.35°)
OKLaboklab(75.84% 0.0182 -0.1223)
OKLCHoklch(75.84% 0.124 278.4)
XYZxyz(46.1849, 42.5301, 99.5224)
Luminance0.4253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA8FE #FEF59F
analogous
#9FD7FE #9FA8FE #C59FFE
triadic
#9FA8FE #FE9FA8 #A8FE9F
tetradic
#9FA8FE #FE9FD7 #FEF59F #9FFEC5
square
#9FA8FE #FE9FD7 #FEF59F #9FFEC5
split-complementary
#9FA8FE #FEC59F #D7FE9F
monochromatic
#263AFD #6271FD #9FA8FE #DCDFFF #E1E4FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA8FE#FFFFFF#000000##000000
##9FA8FE1.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)
#8CB2FF
Deuteranopia (green-blind)
#86ABFC
Tritanopia (blue-blind)
#83B9C7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9fa8fe;
/* rgb */ color: rgb(159, 168, 254);
/* oklch */ color: oklch(75.8% 0.124 278.4);
Tailwind
colors: {
  custom: {
    50: '#bec1ff',
    500: '#9fa8fe',
    950: '#000000',
  },
}
SCSS
$custom: #9fa8fe;
$custom-light: #bec1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa8fe",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 254
  },
  "hsl": {
    "h": 234.316,
    "s": 97.938,
    "l": 80.98
  },
  "oklch": {
    "l": 0.7584,
    "c": 0.12362,
    "h": 278.4
  },
  "luminance": 0.42532
}

Semantic roles & 50–950 ramp

primary
#9FA8FE
secondary
#F7F4D4
accent
#D000E6
background
#FBFBFF
surface
#F7F7FF
border
#D0D0D7
text
#121218
muted
#818186

Preview Lab

Preview with #9FA8FE

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

Preview Lab → · Contrast checker → · Palette generator →

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