#8A9BEB#8A9BEB

#8A9BEB is a light, moderate blue. Relative luminance 0.348; OKLCH L 70.9% C 0.119 H 273.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8A9BEB
RGBrgb(138, 155, 235)
HSLhsl(229, 71%, 73%)
HSVhsv(229, 41%, 92%)
CMYKcmyk(41.3%, 34%, 0%, 7.8%)
CIE-LABlab(65.63, 13.88, -42.22)
CIE-LCHlch(65.63, 44.44, 288.20°)
OKLaboklab(70.87% 0.008 -0.1184)
OKLCHoklch(70.87% 0.119 273.9)
XYZxyz(37.1934, 34.8423, 83.3466)
Luminance0.3484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9BEB #EBDA8A
analogous
#8ACBEB #8A9BEB #A98AEB
triadic
#8A9BEB #EB8A9B #9BEB8A
tetradic
#8A9BEB #EB8ACB #EBDA8A #8AEBA9
square
#8A9BEB #EB8ACB #EBDA8A #8AEBA9
split-complementary
#8A9BEB #EBA98A #CBEB8A
monochromatic
#2544D6 #566EE2 #8A9BEB #BEC8F4 #E5E9FB

Accessibility & contrast

On white

2.64
#8A9BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#8A9BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9BEB
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9BEB#FFFFFF#000000##000000
##8A9BEB1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA4EE
Deuteranopia (green-blind)
#779CE9
Tritanopia (blue-blind)
#6AABB8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8a9beb;
/* rgb */ color: rgb(138, 155, 235);
/* oklch */ color: oklch(70.9% 0.119 273.9);
Tailwind
colors: {
  custom: {
    50: '#b0b8f2',
    500: '#8a9beb',
    950: '#000000',
  },
}
SCSS
$custom: #8a9beb;
$custom-light: #b0b8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9beb",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 235
  },
  "hsl": {
    "h": 229.485,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70872,
    "c": 0.11869,
    "h": 273.9
  },
  "luminance": 0.34844
}

Semantic roles & 50–950 ramp

primary
#8A9BEB
secondary
#F2EED9
accent
#B113D3
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8A9BEB

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

Preview Lab → · Contrast checker → · Palette generator →

#8A9BEB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva