#9FA8EC#9FA8EC

#9FA8EC is a light, moderate blue. Relative luminance 0.414; OKLCH L 75.0% C 0.098 H 277.9°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#9FA8EC
RGBrgb(159, 168, 236)
HSLhsl(233, 67%, 77%)
HSVhsv(233, 33%, 93%)
CMYKcmyk(32.6%, 28.8%, 0%, 7.5%)
CIE-LABlab(70.48, 12.39, -35.09)
CIE-LCHlch(70.48, 37.21, 289.44°)
OKLaboklab(75.01% 0.0136 -0.0975)
OKLCHoklch(75.01% 0.098 277.9)
XYZxyz(43.4368, 41.4309, 85.0490)
Luminance0.4143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA8EC #ECE39F
analogous
#9FCFEC #9FA8EC #BC9FEC
triadic
#9FA8EC #EC9FA8 #A8EC9F
tetradic
#9FA8EC #EC9FCF #ECE39F #9FECBC
square
#9FA8EC #EC9FCF #ECE39F #9FECBC
split-complementary
#9FA8EC #ECBC9F #CFEC9F
monochromatic
#394BD8 #6C7AE2 #9FA8EC #D2D6F6 #E5E8FA

Accessibility & contrast

On white

2.26
#9FA8EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#9FA8EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA8EC
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA8EC#FFFFFF#000000##000000
##9FA8EC1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AFEF
Deuteranopia (green-blind)
#8FAAEA
Tritanopia (blue-blind)
#8AB5C0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #9fa8ec;
/* rgb */ color: rgb(159, 168, 236);
/* oklch */ color: oklch(75.0% 0.098 277.9);
Tailwind
colors: {
  custom: {
    50: '#bdc1f2',
    500: '#9fa8ec',
    950: '#000000',
  },
}
SCSS
$custom: #9fa8ec;
$custom-light: #bdc1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa8ec",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 236
  },
  "hsl": {
    "h": 232.987,
    "s": 66.957,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75005,
    "c": 0.09844,
    "h": 277.9
  },
  "luminance": 0.41432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9FA8EC

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

Preview Lab → · Contrast checker → · Palette generator →

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