#9FA6EC#9FA6EC

#9FA6EC is a light, moderate blue. Relative luminance 0.407; OKLCH L 74.6% C 0.101 H 279.2°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#9FA6EC
RGBrgb(159, 166, 236)
HSLhsl(235, 67%, 77%)
HSVhsv(235, 33%, 93%)
CMYKcmyk(32.6%, 29.7%, 0%, 7.5%)
CIE-LABlab(69.96, 13.51, -35.89)
CIE-LCHlch(69.96, 38.35, 290.63°)
OKLaboklab(74.61% 0.0162 -0.0998)
OKLCHoklch(74.61% 0.101 279.2)
XYZxyz(43.0704, 40.6981, 84.9268)
Luminance0.4070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA6EC #ECE59F
analogous
#9FCDEC #9FA6EC #BE9FEC
triadic
#9FA6EC #EC9FA6 #A6EC9F
tetradic
#9FA6EC #EC9FCD #ECE59F #9FECBE
square
#9FA6EC #EC9FCD #ECE59F #9FECBE
split-complementary
#9FA6EC #ECBE9F #CDEC9F
monochromatic
#3947D8 #6C77E2 #9FA6EC #D2D5F6 #E5E7FA

Accessibility & contrast

On white

2.30
#9FA6EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#9FA6EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA6EC
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA6EC#FFFFFF#000000##000000
##9FA6EC1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AEEF
Deuteranopia (green-blind)
#8DA8EA
Tritanopia (blue-blind)
#8AB3BF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9fa6ec;
/* rgb */ color: rgb(159, 166, 236);
/* oklch */ color: oklch(74.6% 0.101 279.2);
Tailwind
colors: {
  custom: {
    50: '#bdc0f2',
    500: '#9fa6ec',
    950: '#000000',
  },
}
SCSS
$custom: #9fa6ec;
$custom-light: #bdc0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa6ec",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 236
  },
  "hsl": {
    "h": 234.545,
    "s": 66.957,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74608,
    "c": 0.10109,
    "h": 279.2
  },
  "luminance": 0.40699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9FA6EC

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

Preview Lab → · Contrast checker → · Palette generator →

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