#9FA5EA#9FA5EA

#9FA5EA is a light, moderate blue. Relative luminance 0.402; OKLCH L 74.3% C 0.100 H 279.8°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#9FA5EA
RGBrgb(159, 165, 234)
HSLhsl(235, 64%, 77%)
HSVhsv(235, 32%, 92%)
CMYKcmyk(32.1%, 29.5%, 0%, 8.2%)
CIE-LABlab(69.63, 13.57, -35.32)
CIE-LCHlch(69.63, 37.84, 291.01°)
OKLaboklab(74.32% 0.017 -0.0981)
OKLCHoklch(74.32% 0.1 279.8)
XYZxyz(42.6004, 40.2204, 83.3447)
Luminance0.4022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA5EA #EAE49F
analogous
#9FCBEA #9FA5EA #BF9FEA
triadic
#9FA5EA #EA9FA5 #A5EA9F
tetradic
#9FA5EA #EA9FCB #EAE49F #9FEABF
square
#9FA5EA #EA9FCB #EAE49F #9FEABF
split-complementary
#9FA5EA #EABF9F #CBEA9F
monochromatic
#3B47D4 #6D76DF #9FA5EA #D1D4F5 #E6E7FA

Accessibility & contrast

On white

2.32
#9FA5EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#9FA5EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA5EA
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA5EA#FFFFFF#000000##000000
##9FA5EA1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADED
Deuteranopia (green-blind)
#8CA8E8
Tritanopia (blue-blind)
#8BB2BD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9fa5ea;
/* rgb */ color: rgb(159, 165, 234);
/* oklch */ color: oklch(74.3% 0.100 279.8);
Tailwind
colors: {
  custom: {
    50: '#bdbff1',
    500: '#9fa5ea',
    950: '#000000',
  },
}
SCSS
$custom: #9fa5ea;
$custom-light: #bdbff1;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa5ea",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 234
  },
  "hsl": {
    "h": 235.2,
    "s": 64.103,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7432,
    "c": 0.09962,
    "h": 279.8
  },
  "luminance": 0.40222
}

Semantic roles & 50–950 ramp

primary
#9FA5EA
secondary
#F1EFDA
accent
#BE1ACC
background
#FBFBFE
surface
#F7F7FD
border
#D0D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #9FA5EA

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

Preview Lab → · Contrast checker → · Palette generator →

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