#9FA1EF#9FA1EF

#9FA1EF is a light, moderate blue. Relative luminance 0.391; OKLCH L 73.8% C 0.112 H 282.2°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#9FA1EF
RGBrgb(159, 161, 239)
HSLhsl(239, 71%, 78%)
HSVhsv(239, 33%, 94%)
CMYKcmyk(33.5%, 32.6%, 0%, 6.3%)
CIE-LABlab(68.82, 17.11, -39.31)
CIE-LCHlch(68.82, 42.87, 293.52°)
OKLaboklab(73.76% 0.0236 -0.1096)
OKLCHoklch(73.76% 0.112 282.2)
XYZxyz(42.6186, 39.0913, 86.9445)
Luminance0.3909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA1EF #EFED9F
analogous
#9FC9EF #9FA1EF #C59FEF
triadic
#9FA1EF #EF9FA1 #A1EF9F
tetradic
#9FA1EF #EF9FC9 #EFED9F #9FEFC5
square
#9FA1EF #EF9FC9 #EFED9F #9FEFC5
split-complementary
#9FA1EF #EFC59F #C9EF9F
monochromatic
#363ADE #6B6EE6 #9FA1EF #D3D4F8 #E5E5FB

Accessibility & contrast

On white

2.38
#9FA1EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#9FA1EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA1EF
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA1EF#FFFFFF#000000##000000
##9FA1EF1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ABF2
Deuteranopia (green-blind)
#86A5ED
Tritanopia (blue-blind)
#8AB0BD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fa1ef;
/* rgb */ color: rgb(159, 161, 239);
/* oklch */ color: oklch(73.8% 0.112 282.2);
Tailwind
colors: {
  custom: {
    50: '#bdbcf4',
    500: '#9fa1ef',
    950: '#000000',
  },
}
SCSS
$custom: #9fa1ef;
$custom-light: #bdbcf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa1ef",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 239
  },
  "hsl": {
    "h": 238.5,
    "s": 71.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.73764,
    "c": 0.11214,
    "h": 282.2
  },
  "luminance": 0.39093
}

Semantic roles & 50–950 ramp

primary
#9FA1EF
secondary
#F2F2D9
accent
#CF12D3
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121217
muted
#818185

Preview Lab

Preview with #9FA1EF

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

Preview Lab → · Contrast checker → · Palette generator →

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