#8A9CE2#8A9CE2

#8A9CE2 is a light, moderate blue. Relative luminance 0.347; OKLCH L 70.6% C 0.105 H 272.5°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8A9CE2
RGBrgb(138, 156, 226)
HSLhsl(228, 60%, 71%)
HSVhsv(228, 39%, 89%)
CMYKcmyk(38.9%, 31%, 0%, 11.4%)
CIE-LABlab(65.49, 10.82, -37.47)
CIE-LCHlch(65.49, 39.01, 286.11°)
OKLaboklab(70.64% 0.0045 -0.1047)
OKLCHoklch(70.64% 0.105 272.5)
XYZxyz(36.0931, 34.6696, 76.7269)
Luminance0.3467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9CE2 #E2D08A
analogous
#8AC8E2 #8A9CE2 #A48AE2
triadic
#8A9CE2 #E28A9C #9CE28A
tetradic
#8A9CE2 #E28AC8 #E2D08A #8AE2A4
square
#8A9CE2 #E28AC8 #E2D08A #8AE2A4
split-complementary
#8A9CE2 #E2A48A #C8E28A
monochromatic
#304EC2 #5973D6 #8A9CE2 #BBC6EE #E6EAF9

Accessibility & contrast

On white

2.65
#8A9CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#8A9CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9CE2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9CE2#FFFFFF#000000##000000
##8A9CE21.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A3E5
Deuteranopia (green-blind)
#7D9CE0
Tritanopia (blue-blind)
#6FAAB5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8a9ce2;
/* rgb */ color: rgb(138, 156, 226);
/* oklch */ color: oklch(70.6% 0.105 272.5);
Tailwind
colors: {
  custom: {
    50: '#afb9eb',
    500: '#8a9ce2',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ce2;
$custom-light: #afb9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ce2",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 226
  },
  "hsl": {
    "h": 227.727,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70637,
    "c": 0.1048,
    "h": 272.5
  },
  "luminance": 0.34671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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