#9FA5EB#9FA5EB

#9FA5EB is a light, moderate blue. Relative luminance 0.403; OKLCH L 74.4% C 0.101 H 279.9°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#9FA5EB
RGBrgb(159, 165, 235)
HSLhsl(235, 66%, 77%)
HSVhsv(235, 32%, 92%)
CMYKcmyk(32.3%, 29.8%, 0%, 7.8%)
CIE-LABlab(69.67, 13.82, -35.80)
CIE-LCHlch(69.67, 38.38, 291.11°)
OKLaboklab(74.37% 0.0173 -0.0995)
OKLCHoklch(74.37% 0.101 279.9)
XYZxyz(42.7445, 40.2780, 84.1035)
Luminance0.4028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA5EB #EBE59F
analogous
#9FCBEB #9FA5EB #BF9FEB
triadic
#9FA5EB #EB9FA5 #A5EB9F
tetradic
#9FA5EB #EB9FCB #EBE59F #9FEBBF
square
#9FA5EB #EB9FCB #EBE59F #9FEBBF
split-complementary
#9FA5EB #EBBF9F #CBEB9F
monochromatic
#3A46D6 #6C76E0 #9FA5EB #D2D4F6 #E6E7FA

Accessibility & contrast

On white

2.32
#9FA5EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#9FA5EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA5EB
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA5EB#FFFFFF#000000##000000
##9FA5EB1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADEE
Deuteranopia (green-blind)
#8CA8E9
Tritanopia (blue-blind)
#8BB2BE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9fa5eb;
/* rgb */ color: rgb(159, 165, 235);
/* oklch */ color: oklch(74.4% 0.101 279.9);
Tailwind
colors: {
  custom: {
    50: '#bdbff1',
    500: '#9fa5eb',
    950: '#000000',
  },
}
SCSS
$custom: #9fa5eb;
$custom-light: #bdbff1;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa5eb",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 235
  },
  "hsl": {
    "h": 235.263,
    "s": 65.517,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74365,
    "c": 0.10103,
    "h": 279.9
  },
  "luminance": 0.40279
}

Semantic roles & 50–950 ramp

primary
#9FA5EB
secondary
#F1EFDA
accent
#BF18CD
background
#FBFBFE
surface
#F7F7FD
border
#D0D0D5
text
#121217
muted
#818185

Preview Lab

Preview with #9FA5EB

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

Preview Lab → · Contrast checker → · Palette generator →

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