#9FA2EF#9FA2EF

#9FA2EF is a light, moderate blue. Relative luminance 0.394; OKLCH L 74.0% C 0.111 H 281.6°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#9FA2EF
RGBrgb(159, 162, 239)
HSLhsl(238, 71%, 78%)
HSVhsv(238, 33%, 94%)
CMYKcmyk(33.5%, 32.2%, 0%, 6.3%)
CIE-LABlab(69.07, 16.54, -38.92)
CIE-LCHlch(69.07, 42.29, 293.03°)
OKLaboklab(73.96% 0.0223 -0.1085)
OKLCHoklch(73.96% 0.111 281.6)
XYZxyz(42.7941, 39.4422, 87.0030)
Luminance0.3944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA2EF #EFEC9F
analogous
#9FCAEF #9FA2EF #C49FEF
triadic
#9FA2EF #EF9FA2 #A2EF9F
tetradic
#9FA2EF #EF9FCA #EFEC9F #9FEFC4
square
#9FA2EF #EF9FCA #EFEC9F #9FEFC4
split-complementary
#9FA2EF #EFC49F #CAEF9F
monochromatic
#363CDE #6B6FE6 #9FA2EF #D3D5F8 #E5E6FB

Accessibility & contrast

On white

2.36
#9FA2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#9FA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA2EF
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA2EF#FFFFFF#000000##000000
##9FA2EF1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BABF2
Deuteranopia (green-blind)
#87A6ED
Tritanopia (blue-blind)
#8AB0BE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fa2ef;
/* rgb */ color: rgb(159, 162, 239);
/* oklch */ color: oklch(74.0% 0.111 281.6);
Tailwind
colors: {
  custom: {
    50: '#bdbdf4',
    500: '#9fa2ef',
    950: '#000000',
  },
}
SCSS
$custom: #9fa2ef;
$custom-light: #bdbdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa2ef",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 237.75,
    "s": 71.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.73959,
    "c": 0.11076,
    "h": 281.6
  },
  "luminance": 0.39444
}

Semantic roles & 50–950 ramp

primary
#9FA2EF
secondary
#F2F1D9
accent
#CC12D3
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121217
muted
#818185

Preview Lab

Preview with #9FA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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