#8A98D2#8A98D2

#8A98D2 is a light, moderate blue. Relative luminance 0.325; OKLCH L 69.1% C 0.087 H 273.5°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8A98D2
RGBrgb(138, 152, 210)
HSLhsl(228, 44%, 68%)
HSVhsv(228, 34%, 82%)
CMYKcmyk(34.3%, 27.6%, 0%, 17.6%)
CIE-LABlab(63.76, 8.81, -31.29)
CIE-LCHlch(63.76, 32.51, 285.73°)
OKLaboklab(69.08% 0.0053 -0.0869)
OKLCHoklch(69.08% 0.087 273.5)
XYZxyz(33.3390, 32.5116, 65.4790)
Luminance0.3251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98D2 #D2C48A
analogous
#8ABCD2 #8A98D2 #A08AD2
triadic
#8A98D2 #D28A98 #98D28A
tetradic
#8A98D2 #D28ABC #D2C48A #8AD2A0
square
#8A98D2 #D28ABC #D2C48A #8AD2A0
split-complementary
#8A98D2 #D2A08A #BCD28A
monochromatic
#3F52A3 #5E71C1 #8A98D2 #B6BFE3 #E2E6F4

Accessibility & contrast

On white

2.80
#8A98D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#8A98D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98D2
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98D2#FFFFFF#000000##000000
##8A98D21.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#869ED5
Deuteranopia (green-blind)
#8098D1
Tritanopia (blue-blind)
#76A3AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8a98d2;
/* rgb */ color: rgb(138, 152, 210);
/* oklch */ color: oklch(69.1% 0.087 273.5);
Tailwind
colors: {
  custom: {
    50: '#aeb6e0',
    500: '#8a98d2',
    950: '#000000',
  },
}
SCSS
$custom: #8a98d2;
$custom-light: #aeb6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98d2",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 210
  },
  "hsl": {
    "h": 228.333,
    "s": 44.444,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69077,
    "c": 0.08708,
    "h": 273.5
  },
  "luminance": 0.32513
}

Semantic roles & 50–950 ramp

primary
#8A98D2
secondary
#E7E3D1
accent
#9D2EB8
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A98D2

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

Preview Lab → · Contrast checker → · Palette generator →

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