#8A99E2#8A99E2

#8A99E2 is a light, moderate blue. Relative luminance 0.337; OKLCH L 70.0% C 0.109 H 274.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8A99E2
RGBrgb(138, 153, 226)
HSLhsl(230, 60%, 71%)
HSVhsv(230, 39%, 89%)
CMYKcmyk(38.9%, 32.3%, 0%, 11.4%)
CIE-LABlab(64.70, 12.54, -38.70)
CIE-LCHlch(64.70, 40.68, 287.96°)
OKLaboklab(70.03% 0.0083 -0.1082)
OKLCHoklch(70.03% 0.109 274.4)
XYZxyz(35.5959, 33.6752, 76.5612)
Luminance0.3368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A99E2 #E2D38A
analogous
#8AC5E2 #8A99E2 #A78AE2
triadic
#8A99E2 #E28A99 #99E28A
tetradic
#8A99E2 #E28AC5 #E2D38A #8AE2A7
square
#8A99E2 #E28AC5 #E2D38A #8AE2A7
split-complementary
#8A99E2 #E2A78A #C5E28A
monochromatic
#3049C2 #596ED6 #8A99E2 #BBC4EE #E6EAF9

Accessibility & contrast

On white

2.71
#8A99E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#8A99E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A99E2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A99E2#FFFFFF#000000##000000
##8A99E21.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A1E5
Deuteranopia (green-blind)
#7A9AE0
Tritanopia (blue-blind)
#6FA7B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a99e2;
/* rgb */ color: rgb(138, 153, 226);
/* oklch */ color: oklch(70.0% 0.109 274.4);
Tailwind
colors: {
  custom: {
    50: '#afb6eb',
    500: '#8a99e2',
    950: '#000000',
  },
}
SCSS
$custom: #8a99e2;
$custom-light: #afb6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a99e2",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 226
  },
  "hsl": {
    "h": 229.773,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70028,
    "c": 0.10857,
    "h": 274.4
  },
  "luminance": 0.33677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A99E2

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

Preview Lab → · Contrast checker → · Palette generator →

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