#9FA5FA#9FA5FA

#9FA5FA is a light, vivid blue. Relative luminance 0.412; OKLCH L 75.1% C 0.122 H 279.9°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#9FA5FA
RGBrgb(159, 165, 250)
HSLhsl(236, 90%, 80%)
HSVhsv(236, 36%, 98%)
CMYKcmyk(36.4%, 34%, 0%, 2%)
CIE-LABlab(70.30, 17.71, -42.98)
CIE-LCHlch(70.30, 46.49, 292.40°)
OKLaboklab(75.07% 0.0211 -0.1202)
OKLCHoklch(75.07% 0.122 279.9)
XYZxyz(45.0036, 41.1817, 96.0016)
Luminance0.4118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA5FA #FAF49F
analogous
#9FD2FA #9FA5FA #C69FFA
triadic
#9FA5FA #FA9FA5 #A5FA9F
tetradic
#9FA5FA #FA9FD2 #FAF49F #9FFAC6
square
#9FA5FA #FA9FD2 #FAF49F #9FFAC6
split-complementary
#9FA5FA #FAC69F #D2FA9F
monochromatic
#2B38F4 #656EF7 #9FA5FA #D9DCFD #E2E4FD

Accessibility & contrast

On white

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

On black

9.24
#9FA5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA5FA
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA5FA#FFFFFF#000000##000000
##9FA5FA1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAFFD
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#85B5C4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #9fa5fa;
/* rgb */ color: rgb(159, 165, 250);
/* oklch */ color: oklch(75.1% 0.122 279.9);
Tailwind
colors: {
  custom: {
    50: '#bebffc',
    500: '#9fa5fa',
    950: '#000000',
  },
}
SCSS
$custom: #9fa5fa;
$custom-light: #bebffc;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa5fa",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 250
  },
  "hsl": {
    "h": 236.044,
    "s": 90.099,
    "l": 80.196
  },
  "oklch": {
    "l": 0.75065,
    "c": 0.12206,
    "h": 279.9
  },
  "luminance": 0.41183
}

Semantic roles & 50–950 ramp

primary
#9FA5FA
secondary
#F6F3D5
accent
#D600E6
background
#FBFBFF
surface
#F7F7FF
border
#D0D0D7
text
#121217
muted
#818185

Preview Lab

Preview with #9FA5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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