#9FA1EB#9FA1EB

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

Color values

HEX#9FA1EB
RGBrgb(159, 161, 235)
HSLhsl(238, 66%, 77%)
HSVhsv(238, 32%, 92%)
CMYKcmyk(32.3%, 31.5%, 0%, 7.8%)
CIE-LABlab(68.65, 16.08, -37.39)
CIE-LCHlch(68.65, 40.70, 293.27°)
OKLaboklab(73.58% 0.0226 -0.1041)
OKLCHoklch(73.58% 0.107 282.3)
XYZxyz(42.0343, 38.8576, 83.8667)
Luminance0.3886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA1EB #EBE99F
analogous
#9FC7EB #9FA1EB #C39FEB
triadic
#9FA1EB #EB9FA1 #A1EB9F
tetradic
#9FA1EB #EB9FC7 #EBE99F #9FEBC3
square
#9FA1EB #EB9FC7 #EBE99F #9FEBC3
split-complementary
#9FA1EB #EBC39F #C7EB9F
monochromatic
#3A3ED6 #6C6FE0 #9FA1EB #D2D3F6 #E6E6FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA1EB#FFFFFF#000000##000000
##9FA1EB1.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)
#8BAAEE
Deuteranopia (green-blind)
#88A5E9
Tritanopia (blue-blind)
#8BAFBC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9fa1eb;
/* rgb */ color: rgb(159, 161, 235);
/* oklch */ color: oklch(73.6% 0.107 282.3);
Tailwind
colors: {
  custom: {
    50: '#bdbcf1',
    500: '#9fa1eb',
    950: '#000000',
  },
}
SCSS
$custom: #9fa1eb;
$custom-light: #bdbcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa1eb",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 235
  },
  "hsl": {
    "h": 238.421,
    "s": 65.517,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73578,
    "c": 0.10652,
    "h": 282.3
  },
  "luminance": 0.38859
}

Semantic roles & 50–950 ramp

primary
#9FA1EB
secondary
#F1F1DA
accent
#C918CD
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121217
muted
#818185

Preview Lab

Preview with #9FA1EB

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

Preview Lab → · Contrast checker → · Palette generator →

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