#8A98CD#8A98CD

#8A98CD is a light, moderate blue. Relative luminance 0.323; OKLCH L 68.9% C 0.080 H 272.7°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8A98CD
RGBrgb(138, 152, 205)
HSLhsl(227, 40%, 67%)
HSVhsv(227, 33%, 80%)
CMYKcmyk(32.7%, 25.9%, 0%, 19.6%)
CIE-LABlab(63.56, 7.50, -28.82)
CIE-LCHlch(63.56, 29.78, 284.60°)
OKLaboklab(68.85% 0.0038 -0.0798)
OKLCHoklch(68.85% 0.08 272.7)
XYZxyz(32.7258, 32.2663, 62.2495)
Luminance0.3227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98CD #CDBF8A
analogous
#8AB9CD #8A98CD #9E8ACD
triadic
#8A98CD #CD8A98 #98CD8A
tetradic
#8A98CD #CD8AB9 #CDBF8A #8ACD9E
square
#8A98CD #CD8AB9 #CDBF8A #8ACD9E
split-complementary
#8A98CD #CD9E8A #B9CD8A
monochromatic
#42559B #5F72BB #8A98CD #B5BEDF #E0E3F2

Accessibility & contrast

On white

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

On black

7.45
#8A98CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98CD
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98CD#FFFFFF#000000##000000
##8A98CD1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#879DCF
Deuteranopia (green-blind)
#8297CC
Tritanopia (blue-blind)
#77A2AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8a98cd;
/* rgb */ color: rgb(138, 152, 205);
/* oklch */ color: oklch(68.9% 0.080 272.7);
Tailwind
colors: {
  custom: {
    50: '#aeb6dc',
    500: '#8a98cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a98cd;
$custom-light: #aeb6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98cd",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 227.463,
    "s": 40.12,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68854,
    "c": 0.07993,
    "h": 272.7
  },
  "luminance": 0.32268
}

Semantic roles & 50–950 ramp

primary
#8A98CD
secondary
#E4E0CF
accent
#9832B3
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A98CD

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

Preview Lab → · Contrast checker → · Palette generator →

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