#8CB7FA#8CB7FA

#8CB7FA is a light, moderate blue. Relative luminance 0.463; OKLCH L 77.4% C 0.107 H 259.1°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#8CB7FA
RGBrgb(140, 183, 250)
HSLhsl(217, 92%, 76%)
HSVhsv(217, 44%, 98%)
CMYKcmyk(44%, 26.8%, 0%, 2%)
CIE-LABlab(73.77, 2.77, -37.67)
CIE-LCHlch(73.77, 37.77, 274.20°)
OKLaboklab(77.44% -0.0203 -0.1052)
OKLCHoklch(77.44% 0.107 259.1)
XYZxyz(44.9984, 46.3418, 96.9977)
Luminance0.4634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB7FA #FACF8C
analogous
#8CEEFA #8CB7FA #988CFA
triadic
#8CB7FA #FA8CB7 #B7FA8C
tetradic
#8CB7FA #FA8CEE #FACF8C #8CFA98
square
#8CB7FA #FA8CEE #FACF8C #8CFA98
split-complementary
#8CB7FA #FA988C #EEFA8C
monochromatic
#176EF5 #5192F7 #8CB7FA #C7DCFD #E2EDFE

Accessibility & contrast

On white

2.04
#8CB7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#8CB7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB7FA
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB7FA#FFFFFF#000000##000000
##8CB7FA1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBBFD
Deuteranopia (green-blind)
#92B1F9
Tritanopia (blue-blind)
#62C5CE
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #8cb7fa;
/* rgb */ color: rgb(140, 183, 250);
/* oklch */ color: oklch(77.4% 0.107 259.1);
Tailwind
colors: {
  custom: {
    50: '#b2ccfc',
    500: '#8cb7fa',
    950: '#000000',
  },
}
SCSS
$custom: #8cb7fa;
$custom-light: #b2ccfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb7fa",
  "rgb": {
    "r": 140,
    "g": 183,
    "b": 250
  },
  "hsl": {
    "h": 216.545,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77442,
    "c": 0.10715,
    "h": 259.1
  },
  "luminance": 0.46345
}

Semantic roles & 50–950 ramp

primary
#8CB7FA
secondary
#F6E9D5
accent
#8C00E6
background
#FBFCFF
surface
#F6F8FF
border
#D0D1D7
text
#111317
muted
#808285

Preview Lab

Preview with #8CB7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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