#9FA8EE#9FA8EE

#9FA8EE is a light, moderate blue. Relative luminance 0.415; OKLCH L 75.1% C 0.101 H 278.0°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#9FA8EE
RGBrgb(159, 168, 238)
HSLhsl(233, 70%, 78%)
HSVhsv(233, 33%, 93%)
CMYKcmyk(33.2%, 29.4%, 0%, 6.7%)
CIE-LABlab(70.56, 12.90, -36.06)
CIE-LCHlch(70.56, 38.29, 289.68°)
OKLaboklab(75.1% 0.0141 -0.1003)
OKLCHoklch(75.1% 0.101 278)
XYZxyz(43.7290, 41.5478, 86.5878)
Luminance0.4155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA8EE #EEE59F
analogous
#9FCFEE #9FA8EE #BE9FEE
triadic
#9FA8EE #EE9FA8 #A8EE9F
tetradic
#9FA8EE #EE9FCF #EEE59F #9FEEBE
square
#9FA8EE #EE9FCF #EEE59F #9FEEBE
split-complementary
#9FA8EE #EEBE9F #CFEE9F
monochromatic
#374ADC #6B79E5 #9FA8EE #D3D7F7 #E5E7FA

Accessibility & contrast

On white

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

On black

9.31
#9FA8EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA8EE
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA8EE#FFFFFF#000000##000000
##9FA8EE1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B0F1
Deuteranopia (green-blind)
#8EAAEC
Tritanopia (blue-blind)
#8AB5C1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #9fa8ee;
/* rgb */ color: rgb(159, 168, 238);
/* oklch */ color: oklch(75.1% 0.101 278.0);
Tailwind
colors: {
  custom: {
    50: '#bdc1f3',
    500: '#9fa8ee',
    950: '#000000',
  },
}
SCSS
$custom: #9fa8ee;
$custom-light: #bdc1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa8ee",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 238
  },
  "hsl": {
    "h": 233.165,
    "s": 69.912,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75095,
    "c": 0.10126,
    "h": 278
  },
  "luminance": 0.41549
}

Semantic roles & 50–950 ramp

primary
#9FA8EE
secondary
#F2EFD9
accent
#BC14D2
background
#FBFBFE
surface
#F7F7FD
border
#D0D0D5
text
#121217
muted
#818185

Preview Lab

Preview with #9FA8EE

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

Preview Lab → · Contrast checker → · Palette generator →

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