#8CA5DF#8CA5DF

#8CA5DF is a light, moderate blue. Relative luminance 0.378; OKLCH L 72.5% C 0.089 H 266.2°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#8CA5DF
RGBrgb(140, 165, 223)
HSLhsl(222, 56%, 71%)
HSVhsv(222, 37%, 87%)
CMYKcmyk(37.2%, 26%, 0%, 12.5%)
CIE-LABlab(67.88, 5.44, -32.10)
CIE-LCHlch(67.88, 32.55, 279.62°)
OKLaboklab(72.49% -0.0059 -0.0892)
OKLCHoklch(72.49% 0.089 266.2)
XYZxyz(37.5856, 37.8117, 75.1157)
Luminance0.3781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA5DF #DFC68C
analogous
#8CCEDF #8CA5DF #9C8CDF
triadic
#8CA5DF #DF8CA5 #A5DF8C
tetradic
#8CA5DF #DF8CCE #DFC68C #8CDF9C
square
#8CA5DF #DF8CCE #DFC68C #8CDF9C
split-complementary
#8CA5DF #DF9C8C #CEDF8C
monochromatic
#345DBC #5C80D2 #8CA5DF #BCCAEC #E7ECF8

Accessibility & contrast

On white

2.45
#8CA5DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#8CA5DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA5DF
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA5DF#FFFFFF#000000##000000
##8CA5DF1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A9E2
Deuteranopia (green-blind)
#89A2DE
Tritanopia (blue-blind)
#72B1B9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ca5df;
/* rgb */ color: rgb(140, 165, 223);
/* oklch */ color: oklch(72.5% 0.089 266.2);
Tailwind
colors: {
  custom: {
    50: '#b0bfe9',
    500: '#8ca5df',
    950: '#000000',
  },
}
SCSS
$custom: #8ca5df;
$custom-light: #b0bfe9;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca5df",
  "rgb": {
    "r": 140,
    "g": 165,
    "b": 223
  },
  "hsl": {
    "h": 221.928,
    "s": 56.463,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72488,
    "c": 0.0894,
    "h": 266.2
  },
  "luminance": 0.37813
}

Semantic roles & 50–950 ramp

primary
#8CA5DF
secondary
#EEE8D8
accent
#9321C4
background
#FBFBFE
surface
#F6F7FD
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8CA5DF

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

Preview Lab → · Contrast checker → · Palette generator →

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