#9BA2EF#9BA2EF

#9BA2EF is a light, moderate blue. Relative luminance 0.390; OKLCH L 73.7% C 0.111 H 279.3°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#9BA2EF
RGBrgb(155, 162, 239)
HSLhsl(235, 72%, 77%)
HSVhsv(235, 35%, 94%)
CMYKcmyk(35.1%, 32.2%, 0%, 6.3%)
CIE-LABlab(68.78, 15.45, -39.39)
CIE-LCHlch(68.78, 42.31, 291.41°)
OKLaboklab(73.66% 0.018 -0.1099)
OKLCHoklch(73.66% 0.111 279.3)
XYZxyz(42.0135, 39.0397, 86.9664)
Luminance0.3904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA2EF #EFE89B
analogous
#9BCCEF #9BA2EF #BE9BEF
triadic
#9BA2EF #EF9BA2 #A2EF9B
tetradic
#9BA2EF #EF9BCC #EFE89B #9BEFBE
square
#9BA2EF #EF9BCC #EFE89B #9BEFBE
split-complementary
#9BA2EF #EFBE9B #CCEF9B
monochromatic
#3140DE #6671E7 #9BA2EF #D0D3F7 #E5E6FB

Accessibility & contrast

On white

2.38
#9BA2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#9BA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA2EF
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA2EF#FFFFFF#000000##000000
##9BA2EF1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AABF2
Deuteranopia (green-blind)
#85A5ED
Tritanopia (blue-blind)
#84B1BE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9ba2ef;
/* rgb */ color: rgb(155, 162, 239);
/* oklch */ color: oklch(73.7% 0.111 279.3);
Tailwind
colors: {
  custom: {
    50: '#bbbdf4',
    500: '#9ba2ef',
    950: '#000000',
  },
}
SCSS
$custom: #9ba2ef;
$custom-light: #bbbdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba2ef",
  "rgb": {
    "r": 155,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 235,
    "s": 72.414,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73663,
    "c": 0.11139,
    "h": 279.3
  },
  "luminance": 0.39041
}

Semantic roles & 50–950 ramp

primary
#9BA2EF
secondary
#F2F0D9
accent
#C411D4
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121217
muted
#818185

Preview Lab

Preview with #9BA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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