#8FA7DC#8FA7DC

#8FA7DC is a light, moderate blue. Relative luminance 0.386; OKLCH L 73.0% C 0.082 H 265.5°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8FA7DC
RGBrgb(143, 167, 220)
HSLhsl(221, 52%, 71%)
HSVhsv(221, 35%, 86%)
CMYKcmyk(35%, 24.1%, 0%, 13.7%)
CIE-LABlab(68.49, 4.35, -29.49)
CIE-LCHlch(68.49, 29.81, 278.39°)
OKLaboklab(72.97% -0.0064 -0.0817)
OKLCHoklch(72.97% 0.082 265.5)
XYZxyz(38.0608, 38.6427, 73.1496)
Luminance0.3864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA7DC #DCC48F
analogous
#8FCDDC #8FA7DC #9D8FDC
triadic
#8FA7DC #DC8FA7 #A7DC8F
tetradic
#8FA7DC #DC8FCD #DCC48F #8FDC9D
square
#8FA7DC #DC8FCD #DCC48F #8FDC9D
split-complementary
#8FA7DC #DC9D8F #CDDC8F
monochromatic
#3961B7 #6082CD #8FA7DC #BECCEB #E8EDF8

Accessibility & contrast

On white

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

On black

8.73
#8FA7DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA7DC
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA7DC#FFFFFF#000000##000000
##8FA7DC1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ABDE
Deuteranopia (green-blind)
#8EA4DB
Tritanopia (blue-blind)
#78B2B9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fa7dc;
/* rgb */ color: rgb(143, 167, 220);
/* oklch */ color: oklch(73.0% 0.082 265.5);
Tailwind
colors: {
  custom: {
    50: '#b2c1e7',
    500: '#8fa7dc',
    950: '#000000',
  },
}
SCSS
$custom: #8fa7dc;
$custom-light: #b2c1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa7dc",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 220
  },
  "hsl": {
    "h": 221.299,
    "s": 52.381,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72975,
    "c": 0.08197,
    "h": 265.5
  },
  "luminance": 0.38644
}

Semantic roles & 50–950 ramp

primary
#8FA7DC
secondary
#EEE7D9
accent
#9026C0
background
#FBFBFE
surface
#F6F7FC
border
#D0D0D5
text
#111216
muted
#808184

Preview Lab

Preview with #8FA7DC

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

Preview Lab → · Contrast checker → · Palette generator →

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