#8A98DB#8A98DB

#8A98DB is a light, moderate blue. Relative luminance 0.330; OKLCH L 69.5% C 0.100 H 274.5°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8A98DB
RGBrgb(138, 152, 219)
HSLhsl(230, 53%, 70%)
HSVhsv(230, 37%, 86%)
CMYKcmyk(37%, 30.6%, 0%, 14.1%)
CIE-LABlab(64.14, 11.21, -35.71)
CIE-LCHlch(64.14, 37.43, 287.43°)
OKLaboklab(69.49% 0.0078 -0.0996)
OKLCHoklch(69.49% 0.1 274.5)
XYZxyz(34.4919, 32.9728, 71.5511)
Luminance0.3297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98DB #DBCD8A
analogous
#8AC0DB #8A98DB #A58ADB
triadic
#8A98DB #DB8A98 #98DB8A
tetradic
#8A98DB #DB8AC0 #DBCD8A #8ADBA5
square
#8A98DB #DB8AC0 #DBCD8A #8ADBA5
split-complementary
#8A98DB #DBA58A #C0DB8A
monochromatic
#374DB3 #5B6FCD #8A98DB #B9C1E9 #E8EAF8

Accessibility & contrast

On white

2.77
#8A98DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#8A98DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98DB
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98DB#FFFFFF#000000##000000
##8A98DB1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#829FDE
Deuteranopia (green-blind)
#7C98D9
Tritanopia (blue-blind)
#72A5B0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8a98db;
/* rgb */ color: rgb(138, 152, 219);
/* oklch */ color: oklch(69.5% 0.100 274.5);
Tailwind
colors: {
  custom: {
    50: '#afb6e6',
    500: '#8a98db',
    950: '#000000',
  },
}
SCSS
$custom: #8a98db;
$custom-light: #afb6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98db",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 229.63,
    "s": 52.941,
    "l": 70
  },
  "oklch": {
    "l": 0.69491,
    "c": 0.09991,
    "h": 274.5
  },
  "luminance": 0.32974
}

Semantic roles & 50–950 ramp

primary
#8A98DB
secondary
#ECE8D5
accent
#A625C0
background
#FAFBFE
surface
#F5F6FC
border
#CFD0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A98DB

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

Preview Lab → · Contrast checker → · Palette generator →

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