#8CA5CC#8CA5CC

#8CA5CC is a light, moderate blue. Relative luminance 0.368; OKLCH L 71.7% C 0.064 H 259.2°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#8CA5CC
RGBrgb(140, 165, 204)
HSLhsl(217, 39%, 67%)
HSVhsv(217, 31%, 80%)
CMYKcmyk(31.4%, 19.1%, 0%, 20%)
CIE-LABlab(67.16, 0.50, -22.72)
CIE-LCHlch(67.16, 22.73, 271.26°)
OKLaboklab(71.69% -0.0119 -0.0626)
OKLCHoklch(71.69% 0.064 259.2)
XYZxyz(35.1662, 36.8440, 62.3737)
Luminance0.3684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA5CC #CCB38C
analogous
#8CC5CC #8CA5CC #938CCC
triadic
#8CA5CC #CC8CA5 #A5CC8C
tetradic
#8CA5CC #CC8CC5 #CCB38C #8CCC93
square
#8CA5CC #CC8CC5 #CCB38C #8CCC93
split-complementary
#8CA5CC #CC938C #C5CC8C
monochromatic
#44659A #6284B9 #8CA5CC #B6C6DF #E1E7F2

Accessibility & contrast

On white

2.51
#8CA5CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#8CA5CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA5CC
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA5CC#FFFFFF#000000##000000
##8CA5CC1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A7CE
Deuteranopia (green-blind)
#91A1CB
Tritanopia (blue-blind)
#79ADB2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8ca5cc;
/* rgb */ color: rgb(140, 165, 204);
/* oklch */ color: oklch(71.7% 0.064 259.2);
Tailwind
colors: {
  custom: {
    50: '#afbfdb',
    500: '#8ca5cc',
    950: '#000000',
  },
}
SCSS
$custom: #8ca5cc;
$custom-light: #afbfdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca5cc",
  "rgb": {
    "r": 140,
    "g": 165,
    "b": 204
  },
  "hsl": {
    "h": 216.563,
    "s": 38.554,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71686,
    "c": 0.06369,
    "h": 259.2
  },
  "luminance": 0.36845
}

Semantic roles & 50–950 ramp

primary
#8CA5CC
secondary
#E4DCD0
accent
#8034B2
background
#FAFBFD
surface
#F5F7FB
border
#CFD0D4
text
#101215
muted
#7F8183

Preview Lab

Preview with #8CA5CC

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

Preview Lab → · Contrast checker → · Palette generator →

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