#8CA0CC#8CA0CC

#8CA0CC is a light, moderate blue. Relative luminance 0.351; OKLCH L 70.6% C 0.069 H 265.6°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8CA0CC
RGBrgb(140, 160, 204)
HSLhsl(221, 39%, 67%)
HSVhsv(221, 31%, 80%)
CMYKcmyk(31.4%, 21.6%, 0%, 20%)
CIE-LABlab(65.81, 3.30, -24.79)
CIE-LCHlch(65.81, 25.01, 277.57°)
OKLaboklab(70.63% -0.0052 -0.0684)
OKLCHoklch(70.63% 0.069 265.6)
XYZxyz(34.2820, 35.0754, 62.0790)
Luminance0.3508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA0CC #CCB88C
analogous
#8CC0CC #8CA0CC #988CCC
triadic
#8CA0CC #CC8CA0 #A0CC8C
tetradic
#8CA0CC #CC8CC0 #CCB88C #8CCC98
square
#8CA0CC #CC8CC0 #CCB88C #8CCC98
split-complementary
#8CA0CC #CC988C #C0CC8C
monochromatic
#445F9A #627DB9 #8CA0CC #B6C3DF #E1E6F2

Accessibility & contrast

On white

2.62
#8CA0CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#8CA0CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA0CC
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA0CC#FFFFFF#000000##000000
##8CA0CC1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A3CE
Deuteranopia (green-blind)
#8C9DCB
Tritanopia (blue-blind)
#7AA9AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8ca0cc;
/* rgb */ color: rgb(140, 160, 204);
/* oklch */ color: oklch(70.6% 0.069 265.6);
Tailwind
colors: {
  custom: {
    50: '#afbcdb',
    500: '#8ca0cc',
    950: '#000000',
  },
}
SCSS
$custom: #8ca0cc;
$custom-light: #afbcdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca0cc",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 204
  },
  "hsl": {
    "h": 221.25,
    "s": 38.554,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70627,
    "c": 0.0686,
    "h": 265.6
  },
  "luminance": 0.35077
}

Semantic roles & 50–950 ramp

primary
#8CA0CC
secondary
#E4DED0
accent
#8A34B2
background
#FAFBFD
surface
#F5F6FB
border
#CFD0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8CA0CC

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

Preview Lab → · Contrast checker → · Palette generator →

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