#8A98E2#8A98E2

#8A98E2 is a light, moderate blue. Relative luminance 0.334; OKLCH L 69.8% C 0.110 H 275.0°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8A98E2
RGBrgb(138, 152, 226)
HSLhsl(230, 60%, 71%)
HSVhsv(230, 39%, 89%)
CMYKcmyk(38.9%, 32.7%, 0%, 11.4%)
CIE-LABlab(64.44, 13.12, -39.11)
CIE-LCHlch(64.44, 41.25, 288.54°)
OKLaboklab(69.83% 0.0096 -0.1094)
OKLCHoklch(69.83% 0.11 275)
XYZxyz(35.4329, 33.3492, 76.5068)
Luminance0.3335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98E2 #E2D48A
analogous
#8AC4E2 #8A98E2 #A88AE2
triadic
#8A98E2 #E28A98 #98E28A
tetradic
#8A98E2 #E28AC4 #E2D48A #8AE2A8
square
#8A98E2 #E28AC4 #E2D48A #8AE2A8
split-complementary
#8A98E2 #E2A88A #C4E28A
monochromatic
#3047C2 #596DD6 #8A98E2 #BBC3EE #E6E9F9

Accessibility & contrast

On white

2.74
#8A98E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#8A98E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98E2
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98E2#FFFFFF#000000##000000
##8A98E21.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA0E5
Deuteranopia (green-blind)
#7999E0
Tritanopia (blue-blind)
#6FA7B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8a98e2;
/* rgb */ color: rgb(138, 152, 226);
/* oklch */ color: oklch(69.8% 0.110 275.0);
Tailwind
colors: {
  custom: {
    50: '#afb6eb',
    500: '#8a98e2',
    950: '#000000',
  },
}
SCSS
$custom: #8a98e2;
$custom-light: #afb6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98e2",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 226
  },
  "hsl": {
    "h": 230.455,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69826,
    "c": 0.10985,
    "h": 275
  },
  "luminance": 0.33351
}

Semantic roles & 50–950 ramp

primary
#8A98E2
secondary
#EFECD8
accent
#AD1EC8
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A98E2

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

Preview Lab → · Contrast checker → · Palette generator →

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