#9FA7EC#9FA7EC

#9FA7EC is a light, moderate blue. Relative luminance 0.411; OKLCH L 74.8% C 0.100 H 278.6°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#9FA7EC
RGBrgb(159, 167, 236)
HSLhsl(234, 67%, 77%)
HSVhsv(234, 33%, 93%)
CMYKcmyk(32.6%, 29.2%, 0%, 7.5%)
CIE-LABlab(70.22, 12.95, -35.49)
CIE-LCHlch(70.22, 37.78, 290.05°)
OKLaboklab(74.81% 0.0149 -0.0986)
OKLCHoklch(74.81% 0.1 278.6)
XYZxyz(43.2529, 41.0631, 84.9877)
Luminance0.4106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA7EC #ECE49F
analogous
#9FCEEC #9FA7EC #BD9FEC
triadic
#9FA7EC #EC9FA7 #A7EC9F
tetradic
#9FA7EC #EC9FCE #ECE49F #9FECBD
square
#9FA7EC #EC9FCE #ECE49F #9FECBD
split-complementary
#9FA7EC #ECBD9F #CEEC9F
monochromatic
#3949D8 #6C78E2 #9FA7EC #D2D6F6 #E5E8FA

Accessibility & contrast

On white

2.28
#9FA7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#9FA7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA7EC
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA7EC#FFFFFF#000000##000000
##9FA7EC1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AFEF
Deuteranopia (green-blind)
#8EA9EA
Tritanopia (blue-blind)
#8AB4BF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #9fa7ec;
/* rgb */ color: rgb(159, 167, 236);
/* oklch */ color: oklch(74.8% 0.100 278.6);
Tailwind
colors: {
  custom: {
    50: '#bdc1f2',
    500: '#9fa7ec',
    950: '#000000',
  },
}
SCSS
$custom: #9fa7ec;
$custom-light: #bdc1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa7ec",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 236
  },
  "hsl": {
    "h": 233.766,
    "s": 66.957,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74806,
    "c": 0.09976,
    "h": 278.6
  },
  "luminance": 0.41064
}

Semantic roles & 50–950 ramp

primary
#9FA7EC
secondary
#F1EFDA
accent
#BC17CF
background
#FBFBFE
surface
#F7F7FD
border
#D0D0D5
text
#121217
muted
#818185

Preview Lab

Preview with #9FA7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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