#9FA5DF#9FA5DF

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

Color values

HEX#9FA5DF
RGBrgb(159, 165, 223)
HSLhsl(234, 50%, 75%)
HSVhsv(234, 29%, 87%)
CMYKcmyk(28.7%, 26%, 0%, 12.5%)
CIE-LABlab(69.19, 10.81, -29.97)
CIE-LCHlch(69.19, 31.86, 289.83°)
OKLaboklab(73.84% 0.0139 -0.0828)
OKLCHoklch(73.84% 0.084 279.5)
XYZxyz(41.0689, 39.6078, 75.2790)
Luminance0.3961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA5DF #DFD99F
analogous
#9FC5DF #9FA5DF #B99FDF
triadic
#9FA5DF #DF9FA5 #A5DF9F
tetradic
#9FA5DF #DF9FC5 #DFD99F #9FDFB9
square
#9FA5DF #DF9FC5 #DFD99F #9FDFB9
split-complementary
#9FA5DF #DFB99F #C5DF9F
monochromatic
#434FC0 #717AD0 #9FA5DF #CDD0EE #E8E9F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA5DF#FFFFFF#000000##000000
##9FA5DF1.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)
#94ABE2
Deuteranopia (green-blind)
#91A7DE
Tritanopia (blue-blind)
#8FB0B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fa5df;
/* rgb */ color: rgb(159, 165, 223);
/* oklch */ color: oklch(73.8% 0.084 279.5);
Tailwind
colors: {
  custom: {
    50: '#bcbfe9',
    500: '#9fa5df',
    950: '#000000',
  },
}
SCSS
$custom: #9fa5df;
$custom-light: #bcbfe9;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa5df",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 223
  },
  "hsl": {
    "h": 234.375,
    "s": 50,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73837,
    "c": 0.08401,
    "h": 279.5
  },
  "luminance": 0.39609
}

Semantic roles & 50–950 ramp

primary
#9FA5DF
secondary
#EEEDDD
accent
#AF28BD
background
#FBFBFE
surface
#F6F7FC
border
#D0D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #9FA5DF

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

Preview Lab → · Contrast checker → · Palette generator →

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