#9FA2F2#9FA2F2

#9FA2F2 is a light, moderate blue. Relative luminance 0.396; OKLCH L 74.1% C 0.115 H 281.6°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#9FA2F2
RGBrgb(159, 162, 242)
HSLhsl(238, 76%, 79%)
HSVhsv(238, 34%, 95%)
CMYKcmyk(34.3%, 33.1%, 0%, 5.1%)
CIE-LABlab(69.20, 17.32, -40.35)
CIE-LCHlch(69.20, 43.91, 293.23°)
OKLaboklab(74.1% 0.023 -0.1126)
OKLCHoklch(74.1% 0.115 281.6)
XYZxyz(43.2410, 39.6210, 89.3565)
Luminance0.3962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA2F2 #F2EF9F
analogous
#9FCBF2 #9FA2F2 #C59FF2
triadic
#9FA2F2 #F29FA2 #A2F29F
tetradic
#9FA2F2 #F29FCB #F2EF9F #9FF2C5
square
#9FA2F2 #F29FCB #F2EF9F #9FF2C5
split-complementary
#9FA2F2 #F2C59F #CBF29F
monochromatic
#333AE3 #696EEB #9FA2F2 #D5D6F9 #E4E5FB

Accessibility & contrast

On white

2.35
#9FA2F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#9FA2F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA2F2
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA2F2#FFFFFF#000000##000000
##9FA2F21.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#85A6F0
Tritanopia (blue-blind)
#89B1BF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fa2f2;
/* rgb */ color: rgb(159, 162, 242);
/* oklch */ color: oklch(74.1% 0.115 281.6);
Tailwind
colors: {
  custom: {
    50: '#bebdf6',
    500: '#9fa2f2',
    950: '#000000',
  },
}
SCSS
$custom: #9fa2f2;
$custom-light: #bebdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa2f2",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 242
  },
  "hsl": {
    "h": 237.831,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.741,
    "c": 0.11497,
    "h": 281.6
  },
  "luminance": 0.39622
}

Semantic roles & 50–950 ramp

primary
#9FA2F2
secondary
#F3F2D8
accent
#D10DD8
background
#FBFBFF
surface
#F7F6FE
border
#D0D0D6
text
#121217
muted
#818185

Preview Lab

Preview with #9FA2F2

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

Preview Lab → · Contrast checker → · Palette generator →

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