#8A98E5#8A98E5

#8A98E5 is a light, moderate blue. Relative luminance 0.335; OKLCH L 70.0% C 0.114 H 275.2°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8A98E5
RGBrgb(138, 152, 229)
HSLhsl(231, 64%, 72%)
HSVhsv(231, 40%, 90%)
CMYKcmyk(39.7%, 33.6%, 0%, 10.2%)
CIE-LABlab(64.58, 13.94, -40.56)
CIE-LCHlch(64.58, 42.89, 288.97°)
OKLaboklab(69.97% 0.0104 -0.1136)
OKLCHoklch(69.97% 0.114 275.2)
XYZxyz(35.8481, 33.5153, 78.6938)
Luminance0.3352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98E5 #E5D78A
analogous
#8AC6E5 #8A98E5 #AA8AE5
triadic
#8A98E5 #E58A98 #98E58A
tetradic
#8A98E5 #E58AC6 #E5D78A #8AE5AA
square
#8A98E5 #E58AC6 #E5D78A #8AE5AA
split-complementary
#8A98E5 #E5AA8A #C6E58A
monochromatic
#2C44C8 #586CDA #8A98E5 #BCC4F0 #E6E9F9

Accessibility & contrast

On white

2.73
#8A98E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#8A98E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98E5
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98E5#FFFFFF#000000##000000
##8A98E51.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA0E8
Deuteranopia (green-blind)
#7799E3
Tritanopia (blue-blind)
#6EA7B4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a98e5;
/* rgb */ color: rgb(138, 152, 229);
/* oklch */ color: oklch(70.0% 0.114 275.2);
Tailwind
colors: {
  custom: {
    50: '#afb6ed',
    500: '#8a98e5',
    950: '#000000',
  },
}
SCSS
$custom: #8a98e5;
$custom-light: #afb6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98e5",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 229
  },
  "hsl": {
    "h": 230.769,
    "s": 63.636,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69973,
    "c": 0.11409,
    "h": 275.2
  },
  "luminance": 0.33517
}

Semantic roles & 50–950 ramp

primary
#8A98E5
secondary
#F1EDDA
accent
#B01ACB
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A98E5

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

Preview Lab → · Contrast checker → · Palette generator →

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