#9FA1F4#9FA1F4

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

Color values

HEX#9FA1F4
RGBrgb(159, 161, 244)
HSLhsl(239, 79%, 79%)
HSVhsv(239, 35%, 96%)
CMYKcmyk(34.8%, 34%, 0%, 4.3%)
CIE-LABlab(69.03, 18.40, -41.70)
CIE-LCHlch(69.03, 45.58, 293.81°)
OKLaboklab(74% 0.0248 -0.1165)
OKLCHoklch(74% 0.119 282)
XYZxyz(43.3675, 39.3909, 90.8886)
Luminance0.3939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA1F4 #F4F29F
analogous
#9FCCF4 #9FA1F4 #C89FF4
triadic
#9FA1F4 #F49FA1 #A1F49F
tetradic
#9FA1F4 #F49FCC #F4F29F #9FF4C8
square
#9FA1F4 #F49FCC #F4F29F #9FF4C8
split-complementary
#9FA1F4 #F4C89F #CCF49F
monochromatic
#3135E7 #686BEE #9FA1F4 #D6D7FA #E4E4FC

Accessibility & contrast

On white

2.37
#9FA1F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#9FA1F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA1F4
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA1F4#FFFFFF#000000##000000
##9FA1F41.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ABF7
Deuteranopia (green-blind)
#83A6F2
Tritanopia (blue-blind)
#88B1BF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fa1f4;
/* rgb */ color: rgb(159, 161, 244);
/* oklch */ color: oklch(74.0% 0.119 282.0);
Tailwind
colors: {
  custom: {
    50: '#bebcf8',
    500: '#9fa1f4',
    950: '#000000',
  },
}
SCSS
$custom: #9fa1f4;
$custom-light: #bebcf8;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa1f4",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 244
  },
  "hsl": {
    "h": 238.588,
    "s": 79.439,
    "l": 79.02
  },
  "oklch": {
    "l": 0.74002,
    "c": 0.11914,
    "h": 282
  },
  "luminance": 0.39392
}

Semantic roles & 50–950 ramp

primary
#9FA1F4
secondary
#F4F3D7
accent
#D70ADC
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121217
muted
#818185

Preview Lab

Preview with #9FA1F4

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

Preview Lab → · Contrast checker → · Palette generator →

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