#8A9EE3#8A9EE3

#8A9EE3 is a light, moderate blue. Relative luminance 0.354; OKLCH L 71.1% C 0.104 H 271.2°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8A9EE3
RGBrgb(138, 158, 227)
HSLhsl(227, 61%, 72%)
HSVhsv(227, 39%, 89%)
CMYKcmyk(39.2%, 30.4%, 0%, 11%)
CIE-LABlab(66.06, 9.95, -37.14)
CIE-LCHlch(66.06, 38.45, 285.00°)
OKLaboklab(71.09% 0.0022 -0.1037)
OKLCHoklch(71.09% 0.104 271.2)
XYZxyz(36.5690, 35.4013, 77.5644)
Luminance0.3540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EE3 #E3CF8A
analogous
#8ACBE3 #8A9EE3 #A38AE3
triadic
#8A9EE3 #E38A9E #9EE38A
tetradic
#8A9EE3 #E38ACB #E3CF8A #8AE3A3
square
#8A9EE3 #E38ACB #E3CF8A #8AE3A3
split-complementary
#8A9EE3 #E3A38A #CBE38A
monochromatic
#2F50C4 #5975D7 #8A9EE3 #BBC7EF #E6EBF9

Accessibility & contrast

On white

2.60
#8A9EE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#8A9EE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EE3
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EE3#FFFFFF#000000##000000
##8A9EE31.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A5E6
Deuteranopia (green-blind)
#7F9DE1
Tritanopia (blue-blind)
#6EACB7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8a9ee3;
/* rgb */ color: rgb(138, 158, 227);
/* oklch */ color: oklch(71.1% 0.104 271.2);
Tailwind
colors: {
  custom: {
    50: '#afbaec',
    500: '#8a9ee3',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ee3;
$custom-light: #afbaec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ee3",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 227
  },
  "hsl": {
    "h": 226.517,
    "s": 61.379,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71093,
    "c": 0.10374,
    "h": 271.2
  },
  "luminance": 0.35403
}

Semantic roles & 50–950 ramp

primary
#8A9EE3
secondary
#F0EBD9
accent
#A21CC9
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A9EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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