#8CA7CF#8CA7CF

#8CA7CF is a light, moderate blue. Relative luminance 0.377; OKLCH L 72.2% C 0.066 H 258.1°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#8CA7CF
RGBrgb(140, 167, 207)
HSLhsl(216, 41%, 68%)
HSVhsv(216, 32%, 81%)
CMYKcmyk(32.4%, 19.3%, 0%, 18.8%)
CIE-LABlab(67.81, 0.15, -23.39)
CIE-LCHlch(67.81, 23.39, 270.37°)
OKLaboklab(72.23% -0.0136 -0.0644)
OKLCHoklch(72.23% 0.066 258.1)
XYZxyz(35.8931, 37.7164, 64.4082)
Luminance0.3772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA7CF #CFB48C
analogous
#8CC8CF #8CA7CF #928CCF
triadic
#8CA7CF #CF8CA7 #A7CF8C
tetradic
#8CA7CF #CF8CC8 #CFB48C #8CCF92
square
#8CA7CF #CF8CC8 #CFB48C #8CCF92
split-complementary
#8CA7CF #CF928C #C8CF8C
monochromatic
#42679E #6186BD #8CA7CF #B7C8E1 #E2E9F3

Accessibility & contrast

On white

2.46
#8CA7CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#8CA7CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA7CF
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA7CF#FFFFFF#000000##000000
##8CA7CF1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A9D1
Deuteranopia (green-blind)
#92A2CE
Tritanopia (blue-blind)
#78AFB4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ca7cf;
/* rgb */ color: rgb(140, 167, 207);
/* oklch */ color: oklch(72.2% 0.066 258.1);
Tailwind
colors: {
  custom: {
    50: '#afc1dd',
    500: '#8ca7cf',
    950: '#000000',
  },
}
SCSS
$custom: #8ca7cf;
$custom-light: #afc1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca7cf",
  "rgb": {
    "r": 140,
    "g": 167,
    "b": 207
  },
  "hsl": {
    "h": 215.821,
    "s": 41.104,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72232,
    "c": 0.06586,
    "h": 258.1
  },
  "luminance": 0.37718
}

Semantic roles & 50–950 ramp

primary
#8CA7CF
secondary
#E6DDD1
accent
#7F31B4
background
#FAFBFD
surface
#F5F7FB
border
#CFD0D4
text
#101215
muted
#7F8183

Preview Lab

Preview with #8CA7CF

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

Preview Lab → · Contrast checker → · Palette generator →

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