#8A98CC#8A98CC

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

Color values

HEX#8A98CC
RGBrgb(138, 152, 204)
HSLhsl(227, 39%, 67%)
HSVhsv(227, 32%, 80%)
CMYKcmyk(32.4%, 25.5%, 0%, 20%)
CIE-LABlab(63.52, 7.24, -28.32)
CIE-LCHlch(63.52, 29.23, 284.35°)
OKLaboklab(68.81% 0.0035 -0.0784)
OKLCHoklch(68.81% 0.079 272.6)
XYZxyz(32.6055, 32.2182, 61.6158)
Luminance0.3222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A98CC #CCBE8A
analogous
#8AB9CC #8A98CC #9D8ACC
triadic
#8A98CC #CC8A98 #98CC8A
tetradic
#8A98CC #CC8AB9 #CCBE8A #8ACC9D
square
#8A98CC #CC8AB9 #CCBE8A #8ACC9D
split-complementary
#8A98CC #CC9D8A #B9CC8A
monochromatic
#435599 #5F72B9 #8A98CC #B5BEDF #DFE3F1

Accessibility & contrast

On white

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

On black

7.44
#8A98CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A98CC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A98CC#FFFFFF#000000##000000
##8A98CC1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a98cc;
/* rgb */ color: rgb(138, 152, 204);
/* oklch */ color: oklch(68.8% 0.079 272.6);
Tailwind
colors: {
  custom: {
    50: '#aeb6db',
    500: '#8a98cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a98cc;
$custom-light: #aeb6db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a98cc",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 204
  },
  "hsl": {
    "h": 227.273,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6881,
    "c": 0.0785,
    "h": 272.6
  },
  "luminance": 0.32219
}

Semantic roles & 50–950 ramp

primary
#8A98CC
secondary
#E3DFCE
accent
#9733B2
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A98CC

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

Preview Lab → · Contrast checker → · Palette generator →

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