#8A9DCC#8A9DCC

#8A9DCC is a light, moderate blue. Relative luminance 0.339; OKLCH L 69.9% C 0.073 H 267.4°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8A9DCC
RGBrgb(138, 157, 204)
HSLhsl(223, 39%, 67%)
HSVhsv(223, 32%, 80%)
CMYKcmyk(32.4%, 23%, 0%, 20%)
CIE-LABlab(64.86, 4.41, -26.25)
CIE-LCHlch(64.86, 26.62, 279.53°)
OKLaboklab(69.86% -0.0032 -0.0726)
OKLCHoklch(69.86% 0.073 267.4)
XYZxyz(33.4341, 33.8756, 61.8921)
Luminance0.3388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9DCC #CCB98A
analogous
#8ABECC #8A9DCC #988ACC
triadic
#8A9DCC #CC8A9D #9DCC8A
tetradic
#8A9DCC #CC8ABE #CCB98A #8ACC98
square
#8A9DCC #CC8ABE #CCB98A #8ACC98
split-complementary
#8A9DCC #CC988A #BECC8A
monochromatic
#435C99 #5F79B9 #8A9DCC #B5C1DF #DFE4F1

Accessibility & contrast

On white

2.70
#8A9DCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#8A9DCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9DCC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9DCC#FFFFFF#000000##000000
##8A9DCC1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA1CE
Deuteranopia (green-blind)
#889BCB
Tritanopia (blue-blind)
#77A6AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a9dcc;
/* rgb */ color: rgb(138, 157, 204);
/* oklch */ color: oklch(69.9% 0.073 267.4);
Tailwind
colors: {
  custom: {
    50: '#aeb9db',
    500: '#8a9dcc',
    950: '#000000',
  },
}
SCSS
$custom: #8a9dcc;
$custom-light: #aeb9db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9dcc",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 204
  },
  "hsl": {
    "h": 222.727,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69855,
    "c": 0.07263,
    "h": 267.4
  },
  "luminance": 0.33877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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