#8A98CB#8A98CB

#8A98CB is a light, moderate blue. Relative luminance 0.322; OKLCH L 68.8% C 0.077 H 272.4°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8A98CB
RGBrgb(138, 152, 203)
HSLhsl(227, 38%, 67%)
HSVhsv(227, 32%, 80%)
CMYKcmyk(32%, 25.1%, 0%, 20.4%)
CIE-LABlab(63.48, 6.99, -27.82)
CIE-LCHlch(63.48, 28.69, 284.10°)
OKLaboklab(68.77% 0.0032 -0.077)
OKLCHoklch(68.77% 0.077 272.4)
XYZxyz(32.4859, 32.1704, 60.9862)
Luminance0.3217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98CB #CBBD8A
analogous
#8AB9CB #8A98CB #9D8ACB
triadic
#8A98CB #CB8A98 #98CB8A
tetradic
#8A98CB #CB8AB9 #CBBD8A #8ACB9D
square
#8A98CB #CB8AB9 #CBBD8A #8ACB9D
split-complementary
#8A98CB #CB9D8A #B9CB8A
monochromatic
#435597 #6073B8 #8A98CB #B4BDDE #DFE3F1

Accessibility & contrast

On white

2.82
#8A98CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#8A98CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98CB
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98CB#FFFFFF#000000##000000
##8A98CB1.002.827.437.43
#FFFFFF2.821.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#889DCD
Deuteranopia (green-blind)
#8397CA
Tritanopia (blue-blind)
#78A2AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8a98cb;
/* rgb */ color: rgb(138, 152, 203);
/* oklch */ color: oklch(68.8% 0.077 272.4);
Tailwind
colors: {
  custom: {
    50: '#aeb6db',
    500: '#8a98cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a98cb;
$custom-light: #aeb6db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98cb",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 203
  },
  "hsl": {
    "h": 227.077,
    "s": 38.462,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68767,
    "c": 0.07707,
    "h": 272.4
  },
  "luminance": 0.32172
}

Semantic roles & 50–950 ramp

primary
#8A98CB
secondary
#E3DECE
accent
#9634B1
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A98CB

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

Preview Lab → · Contrast checker → · Palette generator →

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