#9FA7EF#9FA7EF

#9FA7EF is a light, moderate blue. Relative luminance 0.412; OKLCH L 74.9% C 0.104 H 278.7°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#9FA7EF
RGBrgb(159, 167, 239)
HSLhsl(234, 71%, 78%)
HSVhsv(234, 33%, 94%)
CMYKcmyk(33.5%, 30.1%, 0%, 6.3%)
CIE-LABlab(70.34, 13.72, -36.94)
CIE-LCHlch(70.34, 39.40, 290.38°)
OKLaboklab(74.94% 0.0157 -0.1028)
OKLCHoklch(74.94% 0.104 278.7)
XYZxyz(43.6924, 41.2389, 87.3024)
Luminance0.4124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA7EF #EFE79F
analogous
#9FCFEF #9FA7EF #BF9FEF
triadic
#9FA7EF #EF9FA7 #A7EF9F
tetradic
#9FA7EF #EF9FCF #EFE79F #9FEFBF
square
#9FA7EF #EF9FCF #EFE79F #9FEFBF
split-complementary
#9FA7EF #EFBF9F #CFEF9F
monochromatic
#3647DE #6B77E6 #9FA7EF #D3D7F8 #E5E7FB

Accessibility & contrast

On white

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

On black

9.25
#9FA7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA7EF
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA7EF#FFFFFF#000000##000000
##9FA7EF1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AFF2
Deuteranopia (green-blind)
#8CA9ED
Tritanopia (blue-blind)
#89B5C1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #9fa7ef;
/* rgb */ color: rgb(159, 167, 239);
/* oklch */ color: oklch(74.9% 0.104 278.7);
Tailwind
colors: {
  custom: {
    50: '#bdc1f4',
    500: '#9fa7ef',
    950: '#000000',
  },
}
SCSS
$custom: #9fa7ef;
$custom-light: #bdc1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa7ef",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 239
  },
  "hsl": {
    "h": 234,
    "s": 71.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.74942,
    "c": 0.10398,
    "h": 278.7
  },
  "luminance": 0.4124
}

Semantic roles & 50–950 ramp

primary
#9FA7EF
secondary
#F2F0D9
accent
#C012D3
background
#FBFBFE
surface
#F7F7FD
border
#D0D0D5
text
#121217
muted
#818185

Preview Lab

Preview with #9FA7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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