#8CA7DC#8CA7DC

#8CA7DC is a light, moderate blue. Relative luminance 0.384; OKLCH L 72.8% C 0.083 H 263.5°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#8CA7DC
RGBrgb(140, 167, 220)
HSLhsl(220, 53%, 71%)
HSVhsv(220, 36%, 86%)
CMYKcmyk(36.4%, 24.1%, 0%, 13.7%)
CIE-LABlab(68.30, 3.52, -29.80)
CIE-LCHlch(68.30, 30.01, 276.74°)
OKLaboklab(72.78% -0.0094 -0.0827)
OKLCHoklch(72.78% 0.083 263.5)
XYZxyz(37.5483, 38.3785, 73.1256)
Luminance0.3838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA7DC #DCC18C
analogous
#8CCFDC #8CA7DC #998CDC
triadic
#8CA7DC #DC8CA7 #A7DC8C
tetradic
#8CA7DC #DC8CCF #DCC18C #8CDC99
square
#8CA7DC #DC8CCF #DCC18C #8CDC99
split-complementary
#8CA7DC #DC998C #CFDC8C
monochromatic
#3762B6 #5D83CE #8CA7DC #BBCBEA #E8EDF8

Accessibility & contrast

On white

2.42
#8CA7DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#8CA7DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA7DC
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA7DC#FFFFFF#000000##000000
##8CA7DC1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ABDE
Deuteranopia (green-blind)
#8DA3DB
Tritanopia (blue-blind)
#73B2B9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ca7dc;
/* rgb */ color: rgb(140, 167, 220);
/* oklch */ color: oklch(72.8% 0.083 263.5);
Tailwind
colors: {
  custom: {
    50: '#b0c1e7',
    500: '#8ca7dc',
    950: '#000000',
  },
}
SCSS
$custom: #8ca7dc;
$custom-light: #b0c1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca7dc",
  "rgb": {
    "r": 140,
    "g": 167,
    "b": 220
  },
  "hsl": {
    "h": 219.75,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72775,
    "c": 0.08319,
    "h": 263.5
  },
  "luminance": 0.3838
}

Semantic roles & 50–950 ramp

primary
#8CA7DC
secondary
#EDE5D7
accent
#8C25C1
background
#FBFBFE
surface
#F6F7FC
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8CA7DC

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

Preview Lab → · Contrast checker → · Palette generator →

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