#8A9BEA#8A9BEA

#8A9BEA is a light, moderate blue. Relative luminance 0.348; OKLCH L 70.8% C 0.117 H 273.8°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8A9BEA
RGBrgb(138, 155, 234)
HSLhsl(229, 70%, 73%)
HSVhsv(229, 41%, 92%)
CMYKcmyk(41%, 33.8%, 0%, 8.2%)
CIE-LABlab(65.58, 13.60, -41.74)
CIE-LCHlch(65.58, 43.90, 288.05°)
OKLaboklab(70.82% 0.0078 -0.117)
OKLCHoklch(70.82% 0.117 273.8)
XYZxyz(37.0494, 34.7847, 82.5879)
Luminance0.3479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9BEA #EAD98A
analogous
#8ACBEA #8A9BEA #A98AEA
triadic
#8A9BEA #EA8A9B #9BEA8A
tetradic
#8A9BEA #EA8ACB #EAD98A #8AEAA9
square
#8A9BEA #EA8ACB #EAD98A #8AEAA9
split-complementary
#8A9BEA #EAA98A #CBEA8A
monochromatic
#2645D4 #566FE1 #8A9BEA #BEC7F3 #E5E9FA

Accessibility & contrast

On white

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

On black

7.96
#8A9BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9BEA
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9BEA#FFFFFF#000000##000000
##8A9BEA1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A3ED
Deuteranopia (green-blind)
#789CE8
Tritanopia (blue-blind)
#6BABB8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8a9bea;
/* rgb */ color: rgb(138, 155, 234);
/* oklch */ color: oklch(70.8% 0.117 273.8);
Tailwind
colors: {
  custom: {
    50: '#b0b8f1',
    500: '#8a9bea',
    950: '#000000',
  },
}
SCSS
$custom: #8a9bea;
$custom-light: #b0b8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9bea",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 234
  },
  "hsl": {
    "h": 229.375,
    "s": 69.565,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70822,
    "c": 0.11729,
    "h": 273.8
  },
  "luminance": 0.34786
}

Semantic roles & 50–950 ramp

primary
#8A9BEA
secondary
#F2EED9
accent
#B014D2
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A9BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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