#8A9FCC#8A9FCC

#8A9FCC is a light, moderate blue. Relative luminance 0.346; OKLCH L 70.3% C 0.070 H 265.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8A9FCC
RGBrgb(138, 159, 204)
HSLhsl(221, 39%, 67%)
HSVhsv(221, 32%, 80%)
CMYKcmyk(32.4%, 22.1%, 0%, 20%)
CIE-LABlab(65.40, 3.28, -25.43)
CIE-LCHlch(65.40, 25.64, 277.35°)
OKLaboklab(70.28% -0.0059 -0.0702)
OKLCHoklch(70.28% 0.07 265.2)
XYZxyz(33.7753, 34.5579, 62.0058)
Luminance0.3456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9FCC #CCB78A
analogous
#8AC0CC #8A9FCC #968ACC
triadic
#8A9FCC #CC8A9F #9FCC8A
tetradic
#8A9FCC #CC8AC0 #CCB78A #8ACC96
square
#8A9FCC #CC8AC0 #CCB78A #8ACC96
split-complementary
#8A9FCC #CC968A #C0CC8A
monochromatic
#435E99 #5F7CB9 #8A9FCC #B5C2DF #DFE5F1

Accessibility & contrast

On white

2.65
#8A9FCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#8A9FCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9FCC
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9FCC#FFFFFF#000000##000000
##8A9FCC1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A2CE
Deuteranopia (green-blind)
#8A9CCB
Tritanopia (blue-blind)
#77A8AE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8a9fcc;
/* rgb */ color: rgb(138, 159, 204);
/* oklch */ color: oklch(70.3% 0.070 265.2);
Tailwind
colors: {
  custom: {
    50: '#aebbdb',
    500: '#8a9fcc',
    950: '#000000',
  },
}
SCSS
$custom: #8a9fcc;
$custom-light: #aebbdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9fcc",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 204
  },
  "hsl": {
    "h": 220.909,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70276,
    "c": 0.07046,
    "h": 265.2
  },
  "luminance": 0.34559
}

Semantic roles & 50–950 ramp

primary
#8A9FCC
secondary
#E3DDCE
accent
#8A33B2
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A9FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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