#8CA7DF#8CA7DF

#8CA7DF is a light, moderate blue. Relative luminance 0.385; OKLCH L 72.9% C 0.087 H 264.4°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8CA7DF
RGBrgb(140, 167, 223)
HSLhsl(220, 56%, 71%)
HSVhsv(220, 37%, 87%)
CMYKcmyk(37.2%, 25.1%, 0%, 12.5%)
CIE-LABlab(68.42, 4.32, -31.27)
CIE-LCHlch(68.42, 31.57, 277.86°)
OKLaboklab(72.91% -0.0085 -0.0868)
OKLCHoklch(72.91% 0.087 264.4)
XYZxyz(37.9492, 38.5388, 75.2369)
Luminance0.3854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA7DF #DFC48C
analogous
#8CD0DF #8CA7DF #9A8CDF
triadic
#8CA7DF #DF8CA7 #A7DF8C
tetradic
#8CA7DF #DF8CD0 #DFC48C #8CDF9A
square
#8CA7DF #DF8CD0 #DFC48C #8CDF9A
split-complementary
#8CA7DF #DF9A8C #D0DF8C
monochromatic
#3461BC #5C82D2 #8CA7DF #BCCCEC #E7EDF8

Accessibility & contrast

On white

2.41
#8CA7DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#8CA7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA7DF
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA7DF#FFFFFF#000000##000000
##8CA7DF1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94ABE1
Deuteranopia (green-blind)
#8CA3DE
Tritanopia (blue-blind)
#72B3BA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ca7df;
/* rgb */ color: rgb(140, 167, 223);
/* oklch */ color: oklch(72.9% 0.087 264.4);
Tailwind
colors: {
  custom: {
    50: '#b0c1e9',
    500: '#8ca7df',
    950: '#000000',
  },
}
SCSS
$custom: #8ca7df;
$custom-light: #b0c1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca7df",
  "rgb": {
    "r": 140,
    "g": 167,
    "b": 223
  },
  "hsl": {
    "h": 220.482,
    "s": 56.463,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72905,
    "c": 0.08726,
    "h": 264.4
  },
  "luminance": 0.38541
}

Semantic roles & 50–950 ramp

primary
#8CA7DF
secondary
#EEE7D8
accent
#8F21C4
background
#FBFBFE
surface
#F6F7FC
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8CA7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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