#9FA5FF#9FA5FF

#9FA5FF is a light, vivid blue. Relative luminance 0.415; OKLCH L 75.3% C 0.129 H 279.9°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#9FA5FF
RGBrgb(159, 165, 255)
HSLhsl(236, 100%, 81%)
HSVhsv(236, 38%, 100%)
CMYKcmyk(37.6%, 35.3%, 0%, 0%)
CIE-LABlab(70.52, 19.04, -45.35)
CIE-LCHlch(70.52, 49.18, 292.77°)
OKLaboklab(75.31% 0.0222 -0.1271)
OKLCHoklch(75.31% 0.129 279.9)
XYZxyz(45.7980, 41.4994, 100.1855)
Luminance0.4150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA5FF #FFF99F
analogous
#9FD5FF #9FA5FF #C99FFF
triadic
#9FA5FF #FF9FA5 #A5FF9F
tetradic
#9FA5FF #FF9FD5 #FFF99F #9FFFC9
square
#9FA5FF #FF9FD5 #FFF99F #9FFFC9
split-complementary
#9FA5FF #FFC99F #D5FF9F
monochromatic
#2532FF #626CFF #9FA5FF #DCDEFF #E0E2FF

Accessibility & contrast

On white

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

On black

9.30
#9FA5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA5FF
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA5FF#FFFFFF#000000##000000
##9FA5FF1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87B0FF
Deuteranopia (green-blind)
#82A9FD
Tritanopia (blue-blind)
#83B6C6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #9fa5ff;
/* rgb */ color: rgb(159, 165, 255);
/* oklch */ color: oklch(75.3% 0.129 279.9);
Tailwind
colors: {
  custom: {
    50: '#bebfff',
    500: '#9fa5ff',
    950: '#000000',
  },
}
SCSS
$custom: #9fa5ff;
$custom-light: #bebfff;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa5ff",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 255
  },
  "hsl": {
    "h": 236.25,
    "s": 100,
    "l": 81.176
  },
  "oklch": {
    "l": 0.75308,
    "c": 0.129,
    "h": 279.9
  },
  "luminance": 0.41501
}

Semantic roles & 50–950 ramp

primary
#9FA5FF
secondary
#F7F5D4
accent
#D700E6
background
#FBFBFF
surface
#F7F7FF
border
#D0D0D7
text
#121218
muted
#818186

Preview Lab

Preview with #9FA5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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