#8A9BE2#8A9BE2

#8A9BE2 is a light, moderate blue. Relative luminance 0.343; OKLCH L 70.4% C 0.106 H 273.1°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8A9BE2
RGBrgb(138, 155, 226)
HSLhsl(228, 60%, 71%)
HSVhsv(228, 39%, 89%)
CMYKcmyk(38.9%, 31.4%, 0%, 11.4%)
CIE-LABlab(65.23, 11.40, -37.88)
CIE-LCHlch(65.23, 39.56, 286.74°)
OKLaboklab(70.43% 0.0058 -0.1059)
OKLCHoklch(70.43% 0.106 273.1)
XYZxyz(35.9259, 34.3353, 76.6712)
Luminance0.3434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9BE2 #E2D18A
analogous
#8AC7E2 #8A9BE2 #A58AE2
triadic
#8A9BE2 #E28A9B #9BE28A
tetradic
#8A9BE2 #E28AC7 #E2D18A #8AE2A5
square
#8A9BE2 #E28AC7 #E2D18A #8AE2A5
split-complementary
#8A9BE2 #E2A58A #C7E28A
monochromatic
#304CC2 #5971D6 #8A9BE2 #BBC5EE #E6EAF9

Accessibility & contrast

On white

2.67
#8A9BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#8A9BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9BE2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9BE2#FFFFFF#000000##000000
##8A9BE21.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A2E5
Deuteranopia (green-blind)
#7C9BE0
Tritanopia (blue-blind)
#6FA9B4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a9be2;
/* rgb */ color: rgb(138, 155, 226);
/* oklch */ color: oklch(70.4% 0.106 273.1);
Tailwind
colors: {
  custom: {
    50: '#afb8eb',
    500: '#8a9be2',
    950: '#000000',
  },
}
SCSS
$custom: #8a9be2;
$custom-light: #afb8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9be2",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 226
  },
  "hsl": {
    "h": 228.409,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70434,
    "c": 0.10604,
    "h": 273.1
  },
  "luminance": 0.34337
}

Semantic roles & 50–950 ramp

primary
#8A9BE2
secondary
#EFEBD8
accent
#A71EC8
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A9BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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