#9FA5FC#9FA5FC

#9FA5FC is a light, vivid blue. Relative luminance 0.413; OKLCH L 75.2% C 0.125 H 279.9°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#9FA5FC
RGBrgb(159, 165, 252)
HSLhsl(236, 94%, 81%)
HSVhsv(236, 37%, 99%)
CMYKcmyk(36.9%, 34.5%, 0%, 1.2%)
CIE-LABlab(70.39, 18.24, -43.93)
CIE-LCHlch(70.39, 47.57, 292.55°)
OKLaboklab(75.16% 0.0215 -0.123)
OKLCHoklch(75.16% 0.125 279.9)
XYZxyz(45.3189, 41.3078, 97.6620)
Luminance0.4131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA5FC #FCF69F
analogous
#9FD3FC #9FA5FC #C79FFC
triadic
#9FA5FC #FC9FA5 #A5FC9F
tetradic
#9FA5FC #FC9FD3 #FCF69F #9FFCC7
square
#9FA5FC #FC9FD3 #FCF69F #9FFCC7
split-complementary
#9FA5FC #FCC79F #D3FC9F
monochromatic
#2836F8 #646DFA #9FA5FC #DADDFE #E1E3FE

Accessibility & contrast

On white

2.27
#9FA5FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#9FA5FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA5FC
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA5FC#FFFFFF#000000##000000
##9FA5FC1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#84A9FA
Tritanopia (blue-blind)
#84B6C5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #9fa5fc;
/* rgb */ color: rgb(159, 165, 252);
/* oklch */ color: oklch(75.2% 0.125 279.9);
Tailwind
colors: {
  custom: {
    50: '#bebffd',
    500: '#9fa5fc',
    950: '#000000',
  },
}
SCSS
$custom: #9fa5fc;
$custom-light: #bebffd;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa5fc",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 252
  },
  "hsl": {
    "h": 236.129,
    "s": 93.939,
    "l": 80.588
  },
  "oklch": {
    "l": 0.75161,
    "c": 0.12484,
    "h": 279.9
  },
  "luminance": 0.41309
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9FA5FC

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

Preview Lab → · Contrast checker → · Palette generator →

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