#9FA2E5#9FA2E5

#9FA2E5 is a light, moderate blue. Relative luminance 0.389; OKLCH L 73.5% C 0.097 H 281.8°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#9FA2E5
RGBrgb(159, 162, 229)
HSLhsl(237, 57%, 76%)
HSVhsv(237, 31%, 90%)
CMYKcmyk(30.6%, 29.3%, 0%, 10.2%)
CIE-LABlab(68.66, 13.99, -34.09)
CIE-LCHlch(68.66, 36.85, 292.32°)
OKLaboklab(73.5% 0.0197 -0.0946)
OKLCHoklch(73.5% 0.097 281.8)
XYZxyz(41.3575, 38.8676, 79.4367)
Luminance0.3887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA2E5 #E5E29F
analogous
#9FC5E5 #9FA2E5 #BF9FE5
triadic
#9FA2E5 #E59FA2 #A2E59F
tetradic
#9FA2E5 #E59FC5 #E5E29F #9FE5BF
square
#9FA2E5 #E59FC5 #E5E29F #9FE5BF
split-complementary
#9FA2E5 #E5BF9F #C5E59F
monochromatic
#3F45CB #6F73D8 #9FA2E5 #CFD1F2 #E7E8F8

Accessibility & contrast

On white

2.39
#9FA2E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#9FA2E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA2E5
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA2E5#FFFFFF#000000##000000
##9FA2E51.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAAE8
Deuteranopia (green-blind)
#8BA5E3
Tritanopia (blue-blind)
#8DAEBA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9fa2e5;
/* rgb */ color: rgb(159, 162, 229);
/* oklch */ color: oklch(73.5% 0.097 281.8);
Tailwind
colors: {
  custom: {
    50: '#bdbded',
    500: '#9fa2e5',
    950: '#000000',
  },
}
SCSS
$custom: #9fa2e5;
$custom-light: #bdbded;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa2e5",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 229
  },
  "hsl": {
    "h": 237.429,
    "s": 57.377,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73502,
    "c": 0.09664,
    "h": 281.8
  },
  "luminance": 0.38869
}

Semantic roles & 50–950 ramp

primary
#9FA2E5
secondary
#F0EFDB
accent
#BE21C5
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #9FA2E5

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

Preview Lab → · Contrast checker → · Palette generator →

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