#9FA0EC#9FA0EC

#9FA0EC is a light, moderate blue. Relative luminance 0.386; OKLCH L 73.4% C 0.109 H 282.8°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#9FA0EC
RGBrgb(159, 160, 236)
HSLhsl(239, 67%, 77%)
HSVhsv(239, 33%, 93%)
CMYKcmyk(32.6%, 32.2%, 0%, 7.5%)
CIE-LABlab(68.44, 16.90, -38.26)
CIE-LCHlch(68.44, 41.83, 293.83°)
OKLaboklab(73.43% 0.0242 -0.1066)
OKLCHoklch(73.43% 0.109 282.8)
XYZxyz(42.0051, 38.5674, 84.5717)
Luminance0.3857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA0EC #ECEB9F
analogous
#9FC6EC #9FA0EC #C59FEC
triadic
#9FA0EC #EC9FA0 #A0EC9F
tetradic
#9FA0EC #EC9FC6 #ECEB9F #9FECC5
square
#9FA0EC #EC9FC6 #ECEB9F #9FECC5
split-complementary
#9FA0EC #ECC59F #C6EC9F
monochromatic
#393BD8 #6C6DE2 #9FA0EC #D2D3F6 #E5E6FA

Accessibility & contrast

On white

2.41
#9FA0EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#9FA0EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA0EC
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA0EC#FFFFFF#000000##000000
##9FA0EC1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9EF
Deuteranopia (green-blind)
#86A4EA
Tritanopia (blue-blind)
#8BAEBB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9fa0ec;
/* rgb */ color: rgb(159, 160, 236);
/* oklch */ color: oklch(73.4% 0.109 282.8);
Tailwind
colors: {
  custom: {
    50: '#bdbcf2',
    500: '#9fa0ec',
    950: '#000000',
  },
}
SCSS
$custom: #9fa0ec;
$custom-light: #bdbcf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa0ec",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 236
  },
  "hsl": {
    "h": 239.221,
    "s": 66.957,
    "l": 77.451
  },
  "oklch": {
    "l": 0.73429,
    "c": 0.10932,
    "h": 282.8
  },
  "luminance": 0.38569
}

Semantic roles & 50–950 ramp

primary
#9FA0EC
secondary
#F1F1DA
accent
#CC17CF
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121217
muted
#818185

Preview Lab

Preview with #9FA0EC

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

Preview Lab → · Contrast checker → · Palette generator →

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