#8FA7CC#8FA7CC

#8FA7CC is a light, moderate blue. Relative luminance 0.378; OKLCH L 72.3% C 0.060 H 258.9°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8FA7CC
RGBrgb(143, 167, 204)
HSLhsl(216, 37%, 68%)
HSVhsv(216, 30%, 80%)
CMYKcmyk(29.9%, 18.1%, 0%, 20%)
CIE-LABlab(67.90, 0.27, -21.58)
CIE-LCHlch(67.90, 21.58, 270.72°)
OKLaboklab(72.32% -0.0116 -0.0593)
OKLCHoklch(72.32% 0.06 258.9)
XYZxyz(36.0423, 37.8354, 62.5189)
Luminance0.3784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA7CC #CCB48F
analogous
#8FC5CC #8FA7CC #958FCC
triadic
#8FA7CC #CC8FA7 #A7CC8F
tetradic
#8FA7CC #CC8FC5 #CCB48F #8FCC95
square
#8FA7CC #CC8FC5 #CCB48F #8FCC95
split-complementary
#8FA7CC #CC958F #C5CC8F
monochromatic
#46679A #6586B9 #8FA7CC #B9C8DF #E3E9F2

Accessibility & contrast

On white

2.45
#8FA7CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#8FA7CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA7CC
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA7CC#FFFFFF#000000##000000
##8FA7CC1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA9CE
Deuteranopia (green-blind)
#94A3CB
Tritanopia (blue-blind)
#7EAFB3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8fa7cc;
/* rgb */ color: rgb(143, 167, 204);
/* oklch */ color: oklch(72.3% 0.060 258.9);
Tailwind
colors: {
  custom: {
    50: '#b1c1db',
    500: '#8fa7cc',
    950: '#000000',
  },
}
SCSS
$custom: #8fa7cc;
$custom-light: #b1c1db;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa7cc",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 204
  },
  "hsl": {
    "h": 216.393,
    "s": 37.423,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72316,
    "c": 0.06043,
    "h": 258.9
  },
  "luminance": 0.37837
}

Semantic roles & 50–950 ramp

primary
#8FA7CC
secondary
#E5DDD2
accent
#8035B0
background
#FBFBFD
surface
#F6F7FB
border
#D0D0D4
text
#111215
muted
#808183

Preview Lab

Preview with #8FA7CC

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

Preview Lab → · Contrast checker → · Palette generator →

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